I created a macOS Application which only runs in the Menubar.
In Xcode I added a Shortcut for some of the NSMenuItem with the Key Equivalent Property in the Inspector.
In this Case it is Shift+F4 and Shift+F5
The Shortcuts do work, but only, when the menu is opened. I guess this is because, the application is in the background for the rest of the time.
How can I get the shortcuts work, even when the menu is not open?
The Allowed When Hidden-Checkbox won't work. I assume it refers to the item itself, which can be marked as hidden.
Any ideas and suggestions will be greatly appreciated.