Namespace: GlobalHotkey

GlobalHotkey

The GlobalHotkey module can register/unregister a global hotkeys.

Methods

(async) isRegistered() → {Promise.<bookean>}

Checks if a given hotkey has been registered

Tutorials:
Returns:
Type
Promise.<bookean>

(async) register() → {Promise.<void>}

Registers a global hotkey with the operating system.

Tutorials:
Returns:
Type
Promise.<void>

(async) unregister() → {Promise.<void>}

Unregisters a global hotkey with the operating system.

Tutorials:
Returns:
Type
Promise.<void>

(async) unregisterAll() → {Promise.<void>}

Unregisters all global hotkeys for the current application.

Tutorials:
Returns:
Type
Promise.<void>