Kodi Community Forum

Full Version: Assign command to a key
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I want to assign some command line execution when I push some key from keyboard.

For example, when I push "I" key in the keyboard, I don't want to get the information, I want to execute example.sh command in the command line.

How could I configure?

I will really appreciate your help.

Kind regards.
Hello

First of all probably best to have a quick Google.....I know it can sometimes be confusing and take a lot of research but in looking at what you want to do myself I came across this forum posting and it works for me.

Basically you need to edit you keymap for your keyboard and change it accordingly

https://forum.kodi.tv/showthread.php?tid=239190

Insert a line like this (or alter the 'i' line you wanted to):

<f9>RunScript(&quot;script.ipcam&quotWink</f9>

Hope this helps.