• 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
Re: Sending events to MenuExtras?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending events to MenuExtras?


  • Subject: Re: Sending events to MenuExtras?
  • From: Murat Konar <email@hidden>
  • Date: Fri, 10 Nov 2006 12:46:22 -0800


On Nov 10, 2006, at 12:44 PM, Patrick wrote:

I have a NSMenuExtra (I know its private, I inherited the code) with a few menu item. These are housed (parent process) by SystemUIServer AFAIK.

I want to know if it is possible for another application to send this menu an event to activate one of the choices, basically to simulate a user clicking on one of the menu items and have it perform the action associated with it.

Wouldn't it be cleaner to use AppleEvents or Distributed Objects to achieve the same result? Simpler yet, how about exploiting NSDistributedNotificationCenter?


_murat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Sending events to MenuExtras? (From: Patrick <email@hidden>)

  • Prev by Date: Re: Sending events to MenuExtras?
  • Next by Date: Re: Creating an NSTimer subclass
  • Previous by thread: Re: Sending events to MenuExtras?
  • Next by thread: Leopard question
  • Index(es):
    • Date
    • Thread