Is it possible to launch a script from another directory than script?
#1
Hi,

I am trying to do something and I was wondering if XBMC has an option that would allow to launch a script directly form a directory in one of the section video/pictures ?
Any ideas how to do that?
Thanks!
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#2
This should do the trick:
Code:
executebuiltin('XBMC.RunScript(Q:\Scripts\myscript.py)')

Replace 'Q:\Scripts\myscript.py' with the script location.

More information about running a another script from a script;

Built In Scripting on wiki

List of Built In functions (tells more about XBMC.RunScript)
Reply

Logout Mark Read Team Forum Stats Members Help
Is it possible to launch a script from another directory than script?0