On Oct 14, 2012, at 12:24 PM, Jeff Smith <jeff...@aol.com> wrote: > I'm trying to set the key equivalent for a menu item to the plus sign. > Interface Builder won't let you do that. I tried doing it manually with > [item setKeyEquivalent:@"+"]; > But to make it work you have to hold down the shift key.
Right. Don’t you normally have to press Shift-= on your keyboard to get a + sign? (It’s that way on US keyboards at least.) If you want it unshifted, set the key to “=“. There’s an unshifted + key on the numeric keypad of an extended keyboard, but not everyone has an extended keyboard; in fact I would guess most users don’t. I am not sure how you set a menu key binding for that, since you’d have to refer to it by its key-code not its character value. —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com