popUpStatusItemMenu - how to highlight the NSStatusItem
I have a NSStatusItem in the systemStatusBar.
Now I would like to have the possibility to show the menu of the StatusItem with a keyboard shortcut.
I can do this with the popUpStatusItemMenu-method of the NSStatusItem class.
However by using this method, the status item in the statusbar doesn't get highlighted (like when I click manually on it).
Is there a possibility to switch a statusItem to highlight-mode programmatically?