Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
RunScript(script[,args]*) in KEYMAP
#1
I'm trying to launch a script with an argument, but I do not get it,
what's the proper way?
I want to execute the script with a "1" as argument
List_of_built-in_functions (wiki)
I have tried this:
Code:
<keymap>
<global>
<keyboard>
<one>RunScript(script.addonname)</one>
<two>RunScript(script.addonname[1])</two>
<three>RunScript(script.addonname[,1])</three>
<four>RunScript(script.addonname[,1]*)</four>
</keyboard>
</global>
</keymap>
Pressing key one, the script is executed, which means that the id is correct
Reply
#2
Code:
<one>RunScript(script.addonname, 1)</one>
Reply
#3
(2018-01-02, 22:34)trogggy Wrote:
Code:
<one>RunScript(script.addonname, 1)</one>
It works thank you!
Reply

Logout Mark Read Team Forum Stats Members Help
RunScript(script[,args]*) in KEYMAP0