xboxscene.org forums

Author Topic: Shortcut To Script Files  (Read 79 times)

mighty_falcon

  • Archived User
  • Newbie
  • *
  • Posts: 7
Shortcut To Script Files
« 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!
Logged

nickb834

  • Archived User
  • Full Member
  • *
  • Posts: 104
Shortcut To Script Files
« Reply #1 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
Logged