be controlled using key board presses. I have a dozen actions that runs a 5 line apple script to send a key
press to Kodi, on a control page I can press a button that will start play, other buttons for navigation. With
about 15 buttons I have full control of Kodi from the control page.
Here is the apple script:
- Code: Select all
try
tell application "System Events"
key code 35
end tell
end try
All the scrips are the same except for the “key code”
So can python use “system events” and send “key codes” can’t figure out how to do this with python.
Any help would be greatly appreciated.
Thanks
Elwood