Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My question is how to access application menus, like file, edit, view - using the keyboard.

Or how to create a new short cut in any application (for example Xcode).

Example -> I want to create a short cut for following menu option in Xcode

=>Run Menu -> Start With Performance tool -> Leaks

like - Command + shift + Ctrl + R

Is it possible? How?

I have included here two questions

  • How to access menu through keyboard in Mac OS X?
  • How to create a new short cut for any particular option of application?
share|improve this question

3 Answers 3

up vote 15 down vote accepted
  1. Control-Fn-F2, or Control-F2 if you use F1, F2 etc. as standard function keys.

  2. System Preferences » Keyboard and Mouse » Keyboard Shortcuts. Click the + button and follow the instructions.

share|improve this answer
1  
@Benjamin - Sir - I am using MAC OS X - 10.5.7. & The option that you suggested to me isn't working. –  Sagar R. Kothari Aug 25 '09 at 23:43
    
@sagar: on MacOS X 10.5.7, the Control-Fn-F2 option works for me; the plain Control-F2 just tries to increase the brightness of my screen. However, that probably means I'm not using the keys as standard function keys. –  Jonathan Leffler Aug 26 '09 at 6:03
2  
Full Keyboard Access needs to be turned on for this to work: You can turn it on in the Keyboard Preference Pane. (Or press <kbd>Control</kbd>-<kbd>F7</kbd>) –  Chealion Aug 26 '09 at 7:38
    
@Chealion—not for me it doesn't. @sagar—which one? And why aren't you on 10.5.8? –  Benjamin Dobson Aug 26 '09 at 9:13
1  
You can also change the key sequence for the default Contrl+F2 under "Settings -> Keyboard -> Keyboard Shortcuts -> Keyboard Text & Input" and set a new key sequence for "Move Focus to Menu Bar" option. I like to set Cmd+Space to mimic that of windows (which is by default used for Spotlight search) –  haridsv Apr 25 '11 at 16:59

My favorite way to do this is to use the help shortcut (cmd-shift-/), which brings the focus in Leopard up to the help bar. Then start typing the name of the command you want and it will filter the list below to the commands that fit your pattern. Just down arrow to the right one and it will actually show you where in the menus that command exists, along with any shortcuts assigned to it. Hit enter and it executes the command.

This makes more sense if you actually do it :).

This makes it really easy to search through all of your commands for the right one, and in a few keystrokes gives you access to all of the menu items.

Unfortunately this doesn't work anymore in Firefox (where you have to use the old ctrl-F2 way) because they hijacked the "help" shortcut to bring you to a stupid webpage that is never what I want.

share|improve this answer
1  
+1 Oh, I like it. It's almost Quicksilver-like. I'd never got my head round what that 'search' on the help menu was for, given that it seemed to include menus and stuff - how neat. That's a tip I'll be using every day from now on. :-) –  robsoft Aug 26 '09 at 7:46
1  
+1. WOW. I never knew that, and it is truly awesome! –  John Rudy Aug 26 '09 at 20:22
    
sweet tip!!!!!! –  bobobobo Nov 9 '09 at 18:18
    
Very sweet, thank you. –  haridsv Apr 23 '11 at 0:03
    
damn, I can only upvote this once. –  oferei Jun 27 at 9:16

According to http://www.xvsxp.com/misc/keyboard.php, if you hit Control-F2, you can navigate the menus just like in Windows: Left or right arrows, or type the first letter or so of a menu's name or a menu options name to select it, and enter works just like clicking the option.

As far as changing XCodes menu shortcuts, [you can just use the "Key Binding Preferences" in the XCode prefs dialog. http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeWorkspace/300-Keyboard%5FShortcuts/custom%5Fkey%5Fequivalents.html#//apple%5Fref/doc/uid/TP40002706-SW2

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.