How to get a list of menu items?
How do I get a list of all of the menu items for an app, including the keyboard shortcuts?
I want this in an open text format I can process (CSV, XML, or the like).
Mac mini (Late 2012)
How do I get a list of all of the menu items for an app, including the keyboard shortcuts?
I want this in an open text format I can process (CSV, XML, or the like).
Mac mini (Late 2012)
No. That list is a generic list. I'm looking for a list for each individual app I have installed. The menu items and kbd shortcuts are not totally identical for every app.
The only way would be to open each App and look through each one and copy them down. Don't forget to include modifier keys such as "option".
Most app Help and User Guides (printed, or in digital form) include a list of keyboard shortcuts. The digital versions would allow you to copy and paste them.
from Firefox…
Navigation
| Command | Shortcut |
|---|---|
| Back | command + ← command + [ Delete |
| Forward | command + → command + ] Shift + Delete |
| Home | option + home |
| Open File | command + O |
| Reload | F5 command + R |
| Reload (override cache) | command + shift + R |
| Stop | Esccommand + . |
Current Page
| Command | Shortcut |
|---|---|
| Go Down a Screen | fn + ↓ |
| Go Up a Screen | fn + ↑ |
| Go to Bottom of Page | Endcommand + ↓ |
| Go to Top of Page | Homecommand + ↑ |
| Move to Next Frame | F6 |
| Move to Previous Frame | Shift + F6 |
| command + P | |
| Save Page As | command + S |
| Zoom In | command + + |
| Zoom Out | command + - |
| Zoom Reset | command + 0 |
Editing
| Command | Shortcut |
|---|---|
| Copy | command + C |
| Cut | command + X |
| Delete | delete |
| Paste | command + V |
| Paste (as plain text) | command + shift + V |
| Redo | command + shift + Z |
| Select All | command + A |
| Undo | command + Z |
Search
| Command | Shortcut | |
|---|---|---|
| Find | command + F | |
| Find Again | F3 command + G |
|
| Find Previous | Shift + F3 command + shift + G |
|
| Quick Find within link-text only | ' | |
| Quick Find | / | |
| Close the Find or Quick Find bar | Esc | - when the Find or Quick Find bar is focused |
| Focus Search bar | command + K command + option + F |
|
| Quickly switch between search engines | command + ↑ command + ↓ |
- when Search Bar is focused |
| View menu to switch, add or manage search engines | option + ↑ option + ↓ |
- when Search Bar is focused |
Windows & Tabs
See also Use tabs to organize lots of websites in a single window.
Some of these shortcuts require the currently selected tab to be "in focus." Currently, the only way to do this is to select an adjacent object and "tab into" the current tab, for instance, by hitting command + L to select the address bar, and then Shift + Tab twice.
| Command | Shortcut | |
|---|---|---|
| Close Tab | command + W | - except for App Tabs |
| Close Window | command + shift + W | |
| Move Tab in focus Left | Ctrl + Shift + Page Up | |
| Move Tab in focus Right | Ctrl + Shift + Page Down | |
| Move Tab in focus to start | command + home | |
| Move Tab in focus to end | command + end | |
| Mute/Unmute Audio | Ctrl + M | |
| New Tab | command + T | |
| New Window | command + N | |
| New Private Window | command + shift + P | |
| Next Tab | control + tab control + page down command + option + → |
|
| Open Address in New Tab | option + return | - from Location Bar or Search Bar |
| Previous Tab | control + shift + tab control + page up command + option + ← |
|
| Undo Close Tab | command + shift + T | |
| Undo Close Window | command + shift + N | |
| Select Tab 1 to 8 | command + 1to8 | |
| Select Last Tab | command + 9 | |
| Tab Groups View | command + shift + E | |
| Close Tab Groups View | Esc | |
| Next Tab Group | control + ` | - only for some keyboard layouts |
| Previous Tab Group | control + shift + ` | - only for some keyboard layouts |
History
| Command | Shortcut |
|---|---|
| History sidebar | command + shift + H |
| Clear Recent History | command + shift + delete |
Bookmarks
| Command | Shortcut |
|---|---|
| Bookmark All Tabs | command + shift + D |
| Bookmark This Page | command + D |
| Bookmarks sidebar | command + B |
| Library window (Bookmarks) | command + shift + B |
Tools
| Command | Shortcut |
|---|---|
| Downloads | command + J |
| Add-ons | command + shift + A |
| Toggle Developer Tools | F12command + alt + I |
| Web Console | command + alt + K |
| Inspector | command + alt + C |
| Debugger | command + alt + S |
| Style Editor | Shift + F7 |
| Profiler | Shift + F5 |
| Network | command + alt + Q |
| Developer Toolbar | Shift + F2 |
| Responsive Design View | command + alt + M |
| Scratchpad | Shift + F4 |
| Page Source | command + U |
| Browser Console | command + shift + J |
| Page Info | command + I |
PDF Viewer
| Command | Shortcut |
|---|---|
| Next page | N or J or → |
| Previous page | P or K or ← |
| Zoom in | command + + |
| Zoom out | command + - |
| Automatic Zoom | command + 0 |
| Rotate the document clockwise | R |
| Rotate counterclockwise | Shift + R |
| Switch to Presentation Mode | command + Alt + P |
| Toggle Hand Tool | H |
| Focus the Page Number input box | command + Alt + G |
Miscellaneous
| Command | Shortcut |
|---|---|
| Complete .com Address | command + return |
| Complete .net Address | shift + return |
| Complete .org Address | command + shift + return |
| Delete Selected Autocomplete Entry | shift + delete |
| Toggle Full Screen | command+Shift+F |
| Show/Hide Add-on Bar | command + / |
| Caret Browsing | F7 |
| Select Location Bar | F6 command + L |
Media shortcuts
See also HTML5 audio and video in Firefox.
| Command | Shortcut |
|---|---|
| Toggle Play / Pause | Space bar |
| Decrease volume | ↓ |
| Increase volume | ↑ |
| Mute audio | command + ↓ |
| Unmute audio | command + ↑ |
| Seek back 15 seconds | ← |
| Seek back 10 % | command + ← |
| Seek forward 15 seconds | → |
| Seek forward 10 % | command + → |
| Seek to the beginning | Home |
| Seek to the end | End |
FWIW, I disagree with Rysz only in the sense that "most" apps have them available in some form you can copy and paste. Some do and some don't. Some only list shortcuts that aren't in the menus. The ones that do have shortcuts listed often are formatted differently than others so it's likely you would have to edit them.
The bottom line is there is no easy way to gather them all.
There is an app (I forgot the name) that shows all of the keyboard shortcuts for an app when you hold down the command key long enough when you're in that app, so clearly it is something that is possible to do. The reason I don't use it is that you can only view it on the screen or save it to an uneditable PDF file.
Since the text for the menu items changes with the interface language (English, German, French, etc.), it must be in the localization files (in the .lproj folders for each locale).
I think the App you are thinking of is CheatSheet. Perhaps you can contact the author and ask how he does it. Or ask him to include exporting to an editable file.
How to get a list of menu items?