Multiple keyboard shortcuts for the same menu command
Multiple keyboard shortcuts for the same menu command
- Subject: Multiple keyboard shortcuts for the same menu command
- From: Oleg Krupnov <email@hidden>
- Date: Mon, 27 Jul 2009 10:38:25 +0300
I'd like the "Go Back" command in my app to be triggered by both Cmd+[
and Cmd+<- (left arrow) keyboard shortcuts. How do I do that?
I am aware of the [NSMenuItem isAlternate] but it only works if the
"keyboard equivalents" are the same and only the modifiers differ,
whereas in my case the opposite is the case: the modifiers are the
same and the keyboard equivalents are different.
Is there a way to do it, desirably without much hassle (invisible
buttons, Carbon, etc.)?
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