2018-01-02, 22:20
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:
Pressing key one, the script is executed, which means that the id is correct
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>