Clarification: Detecting the Option key on selecting a menuitem
Clarification: Detecting the Option key on selecting a menuitem
- Subject: Clarification: Detecting the Option key on selecting a menuitem
- From: Stephen J McIntosh <email@hidden>
- Date: Tue, 3 May 2005 18:17:43 +1000
Hi All
I am trying to follow Apple Human Interface Guidelines on attachability of AppleScripts to menu items: that is
It the user holds down the Option key while selecting a menu item (or anything else, button, etc), it will open the AppleScript (as rich text) that the user has associated with this item. I still think that this approach is valid according to the doco.
Any comments or suggestions would be very welcome.
Thanks in advance
Steve
On 03/05/2005, at 12:33 PM, Stephen J McIntosh wrote:
Hi All
Has anyone got an sample code (Objective C) that can show how to catch a menu item selected with the Option key is held down?
All I can find on the web is a reference to using Carbon menu (FastScripts developer 13 Feb 2005) and
registering to receive the kEventMenuTargetItem event.
Does anyone have any code that can demonstrate how to do this from a Cocoa app rather than a Carbon app.
Thanks in advance
Steve
_______________________________________________
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
_______________________________________________
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