I would like my application to receive a notification when a certain keyboard event happens (for example left alt-key depressed twice in less than 0.5 second). The application is not supposed to be the front application. How can I do this ?
I would like my application to receive a notification when a certain keyboard event
Share
You’ll need to install an event tap for modifier key changes.
This ought to get you started: