Kodi Community Forum
Executing a script from keymap.xml - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: Executing a script from keymap.xml (/showthread.php?tid=8580)



- deadken - 2004-12-27

is there an example floating around for executing a script from keymap.xml?

i know i'm hitting the write key binding, but i've tried every permutation of xbmc.executescript i can think of with no love.


- deadken - 2004-12-28

i found the answer in the changelog of all places.

the syntax is:
<id>xbmc.runscript(q:\scripts\test.py)</id>