xboxscene.org forums

OG Xbox Forums => Software Forums => XboxMediaCenter => Topic started by: mighty_falcon on March 28, 2005, 12:34:00 AM

Title: Shortcut To Script Files
Post by: mighty_falcon on March 28, 2005, 12:34:00 AM
hi there

i tried making a shortcut to some scripts using this form

CODE

      Misc. Scripts
      E:\Apps\xbmc\scripts\ScriptRunner.py
    


but it doesnt run it, just goes to a balnk screen...how would i have it so it runs the script once selected?

tnx!
Title: Shortcut To Script Files
Post by: nickb834 on March 28, 2005, 08:53:00 AM
you are probably better off editing dialogsubmenu.xml in the "\skin\name of skin you are using\PAL or NTSC\" folder and read what it says in there.

I think XBMC needs to be told to execute the python file as running it from a bookmark XBMC expects it to be an XBE.

In the dialogsubmenu file, you specify:

<execute>q:\scripts\iFilmBrowser\iFilmBrowser.py</execute>

HTH

Nick