HotKey icon indicating copy to clipboard operation
HotKey copied to clipboard

Unregistering Hotkeys

Open NoahKamara opened this issue 6 years ago • 2 comments

Hey, I'm writing an OS X app where a user can create sets of hotkeys and then switch the sets so I need to be able to unregister 'non-active' Hotkeys. Is there a way to do this?

NoahKamara avatar Jan 01 '20 18:01 NoahKamara

My current solution is to just do hotkey.isPaused = true but Im not sure this is a 'good' solution

NoahKamara avatar Jan 01 '20 18:01 NoahKamara

It seems there’s no need to unregister a hot key:

You don’t need to think about when handlers are registered and unregistered. This all happens automatically based on the HotKey object’s lifecycle.

martinlexow avatar May 23 '22 14:05 martinlexow