Keyboard shortcuts for conflicting menu items

When assigning a keyboard shortcut to a program’s menus in System Preferences, you can run into a problem if more than one menu item in the program has the same name.

If you describe the full ‘menu path’ using ‘->’ as a delimiter between items (no spaces), then OS X will follow that path and select the correct menu item.

For instance:

Font->Edit->Increase

The ‘->’ symbol seems to be used from Mountain Lion and later. Earlier systems use ‘>’ on its own.

I don’t claim to have discovered this idea myself, but the hint doesn’t seem to be very well-known, so I thought it should be posted here, if it hasn’t already.

Credit goes to this discussion thread on the Apple forums.

[crarko a …

Source: Mac OSX Hints