Re: NSAlternateKeyMask is not working
Re: NSAlternateKeyMask is not working
- Subject: Re: NSAlternateKeyMask is not working
- From: Andrew Farmer <email@hidden>
- Date: Fri, 21 Aug 2009 23:31:29 -0700
On 20 Aug 2009, at 04:54, Nikhil Khandelwal wrote:
In my application I am setting shortcut key for a menu item as
[Menuitem setKeyEquivalentModifierMask:NSAlternateMask];
[Menuitem setKeyEquivalent:@"1"];
But it is not working with alt key though it is working fine if I
press "Fn + option + 1" or "control + option + 1".
Is option key is not supposed to make as shortcut key alone ?
No. In the US keyboard layout, Option+1 is the shortcut for ยก
(inverted exclamation point). Keyboard shortcuts should contain either
the Command or the Control key._______________________________________________
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