Ubuntu – How to send alt + f7 key from autokey


I want to send alt+f7 keys from autokey. Following are the code samples which I tried:

  • keyboard.send_keys("<alt>+<f7>")

  • keyboard.send_key("<alt>+<f7>")

  • keyboard.fake_keypress("<alt>+<f7>")

I tried with repeat=1 also. It doesn't seem to work. Can anyone tell me how to make this work?

Best Answer

  • This script worked for me on Ubuntu 18.04 and autokey-gtk 0.90.4:


    I observe about a second delay though before the script executes. Maybe its just on my computer.

  • Related Question