• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
simulate click on NSStatusItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simulate click on NSStatusItem


  • Subject: simulate click on NSStatusItem
  • From: Martin Batholdy <email@hidden>
  • Date: Mon, 02 May 2011 01:18:16 +0200

Hi,


I am currently working on a StatusItem app
(so I only have a small icon on the upper right side in the systemStatusBar).

I recently implemented a shortcut for the main function of this status item app.

Now when the shortcut-button is pressed an action is invoked just like you could invoke it by selecting the first menu item of the Status Item Menu.

However when you use this keyboard-shortcut instead of the menu-item you don't get a feedback that something happened.

The best feedback to the user that something happened would be (in my opinion) to see the menu item on the upper right side to go active ("Highlight-Mode") for a second and going inactive again
(just like you clicked on it).

Is that possible?


thanks!


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: simulate click on NSStatusItem
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: libraries for flashing a message
  • Next by Date: Re: simulate click on NSStatusItem
  • Previous by thread: Re: libraries for flashing a message
  • Next by thread: Re: simulate click on NSStatusItem
  • Index(es):
    • Date
    • Thread