Optional options: SubscriptionOptionsOptional options: SubscriptionOptionsOptional options: SubscriptionOptionsOptional options: SubscriptionOptionsOptional options: SubscriptionOptionsRegisters a global hotkey with the operating system.
GlobalHotkey.register
a hotkey string
called when the registered hotkey is pressed by the user.
Rest ...args: any[]Optional eventType: "registered" | "unregistered"Optional options: SubscriptionOptionsGenerated using TypeDoc
The GlobalHotkey module can register/unregister a global hotkeys.
Namespace