Mapping a key to a script addon, please help

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jjmucker Offline
Fan
Posts: 546
Joined: Nov 2012
Reputation: 1
Post: #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>
find quote
ironic_monkey Online
Senior Member
Posts: 269
Joined: Nov 2013
Reputation: 22
Post: #2
No quotes
find quote
jjmucker Offline
Fan
Posts: 546
Joined: Nov 2012
Reputation: 1
Post: #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
find quote