Re: Sending events to MenuExtras?
Re: Sending events to MenuExtras?
- Subject: Re: Sending events to MenuExtras?
- From: Fritz Anderson <email@hidden>
- Date: Sat, 11 Nov 2006 11:46:58 -0600
Neither Cocoa nor Apple Events are part of the Darwin UNIX operating
system.
Cocoa classes are discussed on Apple's cocoa-dev list. Implementing
Apple Events is the subject of applescript-implementors.
— F
On 10 Nov 2006, at 12:46 PM, Patrick wrote:
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden