2010-09-08, 10:44
mr_blobby Wrote:Use a keymapping to start the script without being depend on the skin maker.
For instance on a Windows 7 machine:
Create a file "keyboard.xml" in "c:\Users\[your_name]\AppData\Roaming\XBMC\userdata\keymaps\"
Put the following lines in the xml file:
And now you can start the script using the "u" key on your keyboardCode:<keymap>
<FullscreenVideo>
<keyboard>
<u>RunScript(c:\Users\[color=red][your_name][/color]\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py)</u>
</keyboard>
</FullscreenVideo>
</keymap>
if you're gonna give out advice, it's a good idea to check that it's not poop advice. in this case it is. use RunScript(script.xbmc.subtitles), not that error prone fixed path.