Re: Menu Item Shortcuts Without Menu Items?
Re: Menu Item Shortcuts Without Menu Items?
- Subject: Re: Menu Item Shortcuts Without Menu Items?
- From: Ken Thomases <email@hidden>
- Date: Mon, 13 Mar 2017 17:50:35 -0500
On Mar 13, 2017, at 5:12 PM, Frank D. Engel, Jr. <email@hidden> wrote:
>
> I need to create the equivalent of a menu item shortcut, but without the menu item... or, to assign two different shortcuts to the same menu item.
>
> More precisely: I have a menu item with a shortcut of Command+L.
>
> I need Command+Shift+L to do exactly the same thing, but it doesn't look right having two copies of the menu item just to support a second shortcut.
Mark the second menu item as an alternate. That is, set its "alternate" property to true. It will "hide" in the same slot of the menu as the other item and only show when the extra modifier (Shift, in this case) is pressed.
Cheers,
Ken
_______________________________________________
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