Re: Sending events to MenuExtras?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I used to implement it sending events to SystemUIServer application. -- Sincerely, Rustam Muginov On Nov 10, 2006, at 9:46 PM, Patrick wrote: This email sent to dev_lists@spiritdsp.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have a NSMenuExtra (I know its private, I inherited the code) with a few menu items. I want to know if it is possible for another application to send the 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. In essence I want to generate a click event for that menu item programatically. If yes, then how would I do this? what is the target for the apple event? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ dev_lists%40spiritdsp.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Rustam Muginov