Re-bind scripts button
#1
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
Reply
#2
have a look at <yourvideostandard>/dialogsubmenu.xml
Reply
#3
you want to edit home.xml <id>100</id>

change <hyperlink>105</hyperlink>

to <execute>xbmc.runscript([location]\scriptbrowser.py)</execute>
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
nice nuka. i figured i had to replace the <hyperlink> tag with an <execute>, but i never would have got the syntax right. thanks!
Reply
#5
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?
Reply
#6
<execute>xbmc.runscript(q:\scripts\scriptbrowser\scriptbrowser.py)</execute>

if scriptbrowser.py is in the scriptbrowser folder should work.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
Re-bind scripts button0