A keyboard shortcut binding backed by an event tap. Supports fn modifier and left/right modifier key distinction. Obtain instances via hs.eventtap.bindHotkey() — do not instantiate directly.
hs.eventtap.bindHotkey()
The callback function to be called when the hotkey is pressed, or null to remove it
The callback function to be called when the hotkey is released, or null to remove it
Disable the hotkey
Enable the hotkey
True if the hotkey was enabled, otherwise False
Check if the hotkey is currently enabled
True if the hotkey is enabled, otherwise False
A keyboard shortcut binding backed by an event tap. Supports fn modifier and left/right modifier key distinction. Obtain instances via
hs.eventtap.bindHotkey()— do not instantiate directly.