Kodi Community Forum

Full Version: Shortcut key to "Edit title"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I hope this is in the right place.
I would really like to make the "E" key on my keyboard jump straight to "Edit title"
At the moment I have to press "C" and down arrow to it. That's a lot of key presses.
I have tried researching and I think I have to edit the user keyboard.xml but I'm not sure what I have to put in there to make it work?
Any help would be appreciated.
Cheers
Hello,

I would like to know this too.
I would like to assign F2 for example, like in windows.
I don't know if you can do that directly, but you can use a Python script to open the context menu, move the pointer down to the "Edit title" option and select it. It's a bit of a hack, but it should do the trick. The following example assumes the "Edit title" option is always the sixth item on the context menu (adapt as necessary):
Code:
import xbmc
xbmc.executebuiltin( "XBMC.Action(ContextMenu)" )
xbmc.executebuiltin( "XBMC.Action(Down)" )
xbmc.executebuiltin( "XBMC.Action(Down)" )
xbmc.executebuiltin( "XBMC.Action(Down)" )
xbmc.executebuiltin( "XBMC.Action(Down)" )
xbmc.executebuiltin( "XBMC.Action(Down)" )
xbmc.executebuiltin( "XBMC.Action(Select)" )

and then assign the script to the F2 key in the appropriate section of your keyboard.xml (wiki) file:
Code:
<f2>XBMC.RunScript(/path/to/script-name.py)</f2>

Notes:
  • Use backslashes ( \ ) for script file path if running Windows
  • Give your Python script file executable permission if running Linux