Mapping a key to a script addon, please help
#1
Ive been trying for the past few hours to add the letter "g" to keyboard.xml so that I can hit the letter and run a script, last.fm plugin addon

This is what I have. Can someone please tell me if this is correct?
I'm running an android box, tried adding the keyboard.xml into userdata folder but I isn't working Sad

<keymap>
<global>
<keyboard>
<g>RunScript("script.lastfmplaylistgeneratorPM")</g>
</keyboard>
</global>
</keymap>
Reply
#2
No quotes
Reply
#3
The code above actually works. The only thing I can think of that worked is I put it into the keymap folder too. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Mapping a key to a script addon, please help0