I have tried KeyDown
and NSEvent
, but they require a NSWindow
object to be active. My hope is that I can put an app on the status bar and alert the user when it has pressed CapsLock, even if the user is in any other app. My app idea doesn't have a window for settings or anything else, is just an indicator. Can it even be done? I am guessing the AppDelegate
but can't figure out how to make it receive modifier events. Any help really appreciated!
I have looked on stack overflow for a "duplicate" but no one has ever asked this question as far as I searched.