Running scipt from maim menu. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Running scipt from maim menu. (/showthread.php?tid=36635) |
Running scipt from maim menu. - alanbarn - 2008-09-02 I have modified my menu so that 'Programs' is replaced by 'Digital TV' this works fine. I'd like the menu button to invoke a python script for mythtv (script already exists and runs from the nornal scripts menu. Changing the menu button was pretty easy (edited home.xml in project mayhem III/pal 16 x 9/) Can't figure out the correct (syntax) modification to the menu to run the script, not sure which .py file is the executable - Jeroen - 2008-09-02 probably default.py, try something like this: <onclick>XBMC.RunScript(Q:\scripts\name of script\default.py)</onclick> |