A keyboard shortcut spelled out, for the shortcut of a menu item. Modifier and key names are the same as for hs.hotkey.bind()
shortcut
hs.hotkey.bind()
The key: a numeric virtual key code, a character, a key name such as "return", "delete", "left" or "f5", or the symbol a menu draws for it such as "↩"
"return"
"delete"
"left"
"f5"
"↩"
Optional
The modifier keys, e.g. ["cmd", "shift"]. Leave out for no modifiers
["cmd", "shift"]
A keyboard shortcut spelled out, for the
shortcutof a menu item. Modifier and key names are the same as forhs.hotkey.bind()