Add Keyboard Shortcuts to Any Application

by Matt on February 4, 2009

Share with Others:
Email This Post Email This Post
Print This Post Print This Post

Post to Twitter Tweet This

If you’ve been using your Mac for a while now, you undoubtedly know that you can use key combinations to save valuable time, rather than performing tasks via the menu bar. The most common examples of this includes command-C (copy) and command-V (paste). If you’ve never tried this before, simply click on a menu in any application, and you’ll notice that some menu commands have key combinations to the right of their names. If those combinations are present, you can hold down the command key and press the corresponding letter/number/etc. to perform that task. Note: sometimes, you have to hold down the command key along with the shift, option, and/or control keys.

Have you run across a task in a menu of one of your favorite applications, only to be disappointed that there’s no keyboard shortcut for it? Luckily, Apple has made it easy to add shortcuts to any application. Here’s how:

Finding Your Menu Item

I’m going to show you how to do this by demonstrating in iCal. Remember that you can do this in any Mac OS X application. The first thing you must do is find the exact menu item. Here’s what the iCal Calendar Menu looks like:

I’ve decided I want to add a key command for the menu item called Publish. Notice that there are three commands in this menu that have key commands (Subscribe, Refresh, and Refresh All), but Publish is not one of them. It is crucial that you recognize the exact name of the command. Here’s what I mean:

  • Most items begin with a capital letter. This matters.
  • Items that are two or more words (such as “Send Publish Email”) will need to be written exactly as shown. You can’t remove the spaces, and you can’t un-capitalize capitalized letters.
  • Finally, and this is important, if the item has ellipses at the end of it, you must type three periods or ellipses when we get to the next step. Those periods are actually part of the item’s name.

Setting This Up in System Preferences

Now that you know the rules, let’s actually add the shortcut. Open up System Preferences and click on the Keyboard & Mouse system preference. From there, you need to click on the last tab called Keyboard Shortcuts. You will see a list of all the universal shortcuts (meaning shortcuts that work no matter what application you’re in). You might not know some of these, so it’s worth taking a look at.

At the bottom of the list will be any shortcuts you’ve added. To add a short cut, click the + button:

This will cause a new window to pop up, allowing you to add your shortcut. Here’s what my window looks like:

As you can see, I’ve done three things here:

  1. First, I selected iCal from the Application list so that this shortcut will be used in (and limited to) iCal.
  2. Second, I’ve entered the exact name of the menu command I want to add (including the capital “P” and the three periods after the word).
  3. Third, I’ve created a keyboard shortcut. I chose option-command-P (you actually type the shortcut in the third box). That first character is the symbol for the option key . You can also use other keys: an up arrow is the shortcut for the shift key, and a carrot symbol represents the control key. If you hold down the option and command keys, then press P, you’ll get the same characters on this line as I did. What is important here is that you choose a key combination that does not already exist in the application you are modifying. If I had just selected command-P, which might make sense because of the name “Publish,” the new shortcut would not have worked, since command-P is already taken by the Print command.

Now, if you go back to your application and check your menu, the shortcut should be there!

That’s it! In my experience, you do not even need to quit and reopen the application. Once you’ve created the keyboard command, you’re done.

Did this tip work for you? Have a better way of accomplishing the same task? Have you found that adding certain key combinations has been a big timesaver for you? Let others know in the comments.

Related Posts

{ 1 trackback }

Matt Washchuk
February 5, 2009 at 5:39 pm

{ 5 comments… read them below or add one }

1 Verne March 22, 2009 at 8:53 am

Hi Matt,

I can’t seem to add more than three new keyboard shortcuts in my system prefs keyboard panel. When I try to add a fourth in a single application (in this case, Flash CS3), all I can do is overwrite one of the three I already made. Thanks for your help!

2 Graham June 6, 2009 at 11:44 am

I am unable to capitalize the letter “s” ONLY if I use the caps lock key.

If I use the shift key then absolutely nothing happens.

I have three Macs and they are all synced together…they ALL have the same fault.

I have tried all suggestions found on the net thus far with no luck.

Any suggestions???

PLEASE !!!!

3 James @ Left Handed Keyboard October 3, 2009 at 4:21 pm

Great description. I’ve been trying to figure this out on my own for quite some time and I have finally got it figured out thanks to your article! Now I can jump into several business applications in no time making work on my Mac run a lot smoother and more efficient!
.-= James @ Left Handed Keyboard´s last blog ..Contact Us =-.

4 Jesse Guy October 4, 2009 at 8:39 pm

I used this when I first discovered it only to learn that you can’t back up your painstakingly entered definitions and they have a disconcerting tendency to disappear. Crashes, freezes or maybe sunspots might be implicated but whatever the cause, the effect is that hours of work is lost with no way to restore. Maybe instead of a whiney observation of my bad experience I should phrase this as a question: Is there a way to backup/restore user defined keystrokes?

5 rynokins October 13, 2009 at 5:09 pm

This is dope! This gives me back the functionality of that old Unsanity ‘Menu Master’ haxie [ http://www.unsanity.com/haxies/menumaster ]…

Thanks!

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: