Skip to content

Simulate Hotkey

banner

This type is used to simulate simple keyboard events. You can use this to trigger shortcuts in other applications to automate tasks.

This action has the following options.

  • Hotkey: The hotkey to simulate. You can either record the hotkey by clicking on the “Record Hotkey” button and pressing the desired hotkey, or you can directly type the hotkey into the field. The latter is useful if you want to use a hotkey that is either not available on your keyboard or is globally bound to another application.

    You can also type the keys one after another: If you want to simulate Alt + F4, you can press Alt first, release it, then press F4. Else this would close the Kando window!

If you edit your menus.json file by hand or use the IPC interface, you can create this action with something like the following.

menus.json
...
"selectWorkflow": {
"actions": [
...
{
"type": "simulate-hotkey",
"hotkey": "ControlLeft+C"
}
...
]
}
...