View Full Version : Re-bind scripts button
crazygreekangelo
2005-05-05, 22:51
in pm3, is there any way to re-bind the button launching the scripts menu to something else. i was hoping to find a way to have it execute scriptbrowser.py
have a look at <yourvideostandard>/dialogsubmenu.xml
Nuka1195
2005-05-06, 03:24
you want to edit home.xml <id>100</id>
change <hyperlink>105</hyperlink>
to <execute>xbmc.runscript([location]\scriptbrowser.py)</execute>
crazygreekangelo
2005-05-06, 03:52
nice nuka. i figured i had to replace the <hyperlink> tag with an <execute>, but i never would have got the syntax right. thanks!
crazygreekangelo
2005-05-06, 04:35
one more question: what is the form for entering the path? i've tried q:\scripts\scriptbrowser\scriptbrowser.py , q:\\scripts\\scriptbrowser\\scriptbrowser.py , and a couple of others with no luck. any ideas?
Nuka1195
2005-05-06, 15:49
<execute>xbmc.runscript(q:\scripts\scriptbrowser\scriptbrow ser.py)</execute>
if scriptbrowser.py is in the scriptbrowser folder should work.