Saturday, March 15, 2008
Add keyboard shortcut to a command in a submenu
HUGE hint for the keyboard-jockey:
Surprisingly, you can add a keyboard shortcut to a command that is one level down in a menu by simply pretending that it isn't. In other words, well, see the following example.
In Mail.app I wanted ⌘K to be my shortcut for adding a link in the body of a message. But the command is usually only available via the submenu Link > Add… under the Edit menu. On a whim, I went to System Preferences > Keyboard & Mouse > Keyboard Shortcuts, hit the plus sign and in the box for Menu Title entered "Add…" (no quotes, and using option-semicolon for the elipsis). It worked!
Of course, you probably need to restart Mail.app for this to work.