I'm sure most of us here like doing thing as efficiently as possible and therefore we're a bunch of keyboard junkies.
With a file (or group of files) highlighted, is there a way to open the context menu (equivalent of right-click) with the keyboard?
|
I'm sure most of us here like doing thing as efficiently as possible and therefore we're a bunch of keyboard junkies. With a file (or group of files) highlighted, is there a way to open the context menu (equivalent of right-click) with the keyboard? |
|||||||||||||
|
|
Short answer: no. Most items in the Finder’s context menu are already accessible via the menu bar & any thing in the menu bar is fair game for a custom keyboard shortcut in System Preferences (System Preferences > Keyboard > Keyboard Shortcuts > Application Shortcuts). You can assign keyboard shortcuts for most apps (Firefox excluded) in that panel and that includes the Finder. If it doesn’t immediately take effect, just relaunch the Finder. |
||||
|
Quicksilver proxy objects, specifically the "Current Selection" proxy object. This will let you invoke Quicksilver with all of the items you have selected in the Finder as the thing you do stuff to. I have a trigger (mine's set to ⌘+shift+space) set up to get all the currently-selected items in the Finder. The end result is that I can perform actions on the currently-selected items in the Finder with, like, three keystrokes. Most of the things I can do to the items are in the context menu, but not all, if I recall. Still, pretty handy. |
|||
|
|
|
Not quite exactly the context menu, very close however. If you use the commands for Universal Access you can get to the menu for the Task button in the buttonbar. Press control-F5 to put the focus on the buttonbar. Press tab until the Task button is highlighted, press space to open it, use the arrows to make your selection. Note that you may have to enable Universal Access, and that you can change the control-F5 shortcut in the Keyboard prefpane. Also, the name of the button may be slightly different in English (I'm running in Dutch, and can't be bothered to switch languages to check the exact translation). |
|||
|
|
|
This answers the more specific question in your comment to your original question. It could probably have been a new question since it is much more specific. To set the “Color Label” of the currently selected files, you can combine an AppleScript program (or a shell program that uses osascript) with any of the multitude of “launcher” applications (Quicksilver, FastScripts, etc.) that can run AppleScript programs (or shell programs) based on a shortcut key combination. For any of the scripts below, paste them into Script Editor / AppleScript Editor and save them in “script” format (or whatever format your chosen launcher uses). The usual place for such saved scripts would be ~/Library/Scripts/Applications/Finder, but, depending on your launcher, you could use other locations. Here is a simple version that you can hard-code to any one of the labels:
If you only have a couple of labels that you use, you might save a couple of copies of this and bind a key to each copy. Here is a version that always prompts you for which label to apply:
When the dialog appears, type one of 0-7 to select a label, then hit Return to apply it to the items selected in Finder. |
|||
|
|
I do not know of a way to open the context menu for the current selection (which is what I think you really want) but you can “right click” whatever whatever is under the mouse pointer with only the keyboard. Turning Sticky Keys and Mouse Keys on or off
But, this relies on having the mouse pointer properly positioned. If you have selected the files in Finder without using the mouse then the mouse pointer will likely be somewhere completely unrelated to your Finder task. |
|||
|