Open lessp opened 4 years ago
At least on macOS it's possible to register global hotkey-events:
https://snippets.aktagon.com/snippets/361-registering-global-hot-keys-with-cocoa-and-objective-c
A common use-case is to show the app once such a key-event has been pressed.
E.g. in Electron: https://www.electronjs.org/docs/api/global-shortcut
At least on macOS it's possible to register global hotkey-events:
https://snippets.aktagon.com/snippets/361-registering-global-hot-keys-with-cocoa-and-objective-c
A common use-case is to show the app once such a key-event has been pressed.
E.g. in Electron: https://www.electronjs.org/docs/api/global-shortcut