popUpStatusItemMenu - how to highlight the NSStatusItem

  • Hi,

    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?

    thanks!
previous month june 2011 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Go to today