I've written a menubar app in swift and am wondering if it's possible to access the app from the keyboard programmatically?
Let's say my app recorded audio from the desktop mic. How would I write my app to have a keyEquivalent to start recording I was in chrome or something?
Unfortunately all keyboard events are always sent to the active (frontmost) application but you could define a global hot key (for example with DDHotKey) to activate the menubar application.