soffes / HotKey

Simple global shortcuts in macOS
MIT License
921 stars 82 forks source link

Can HotKey works when just press a single command button? #4

Closed SSebo closed 6 years ago

SSebo commented 6 years ago

HotKey work really well on command + option + tab, but when add hot a single command Hotkey, hanlder did not called. Did I use it the wrong way ?

soffes commented 6 years ago

The system actually has supported this since 10.3. We could add support for this.

The keyboard modifiers to look for. On Mac OS X 10.2 or earlier, this parameter must be non-zero, i.e. there must be a modifier specified. On Mac OS X 10.3 or later, you may pass zero.

soffes commented 6 years ago

Oh actually this is just for modifiers. You have to have something that's not a modifier. Sorry :(