Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I really use Alfred a lot. I now was just wondering if I can do somethings with the currently selected file in finder (most of the time move it to a folder, create new mail with this as attachment, open with application xyz etc pp). I think Launchbar and Quicksilver had such a feature.

Any hints are welcome!

share|improve this question
    
Alfred is not AppleScriptable, and I didn't find a built-in function or additional hotkey. – Daniel Beck Feb 4 '11 at 17:42
    
You're right, LaunchBar does have a feature that does this, called "Instant Send". (Sorry I don't have an Alfred answer for you.) – Paul Bissex Feb 12 '14 at 21:48
up vote 10 down vote accepted

Indeed there is.

  1. Select the file in Finder
  2. Hold down Command + shift + G

This shortcut can be altered if necessary:

  • For Version 1: Preferences » Features » File Navigation.
  • For Version 2: Preferences » Features » File Search » Actions » File Selection

Version 1 Preferences Screen Shot

The available actions for the selected file then shows in Alfred. This is at the moment an advanced feature and thus requires the Powerpack (12 pounds).

Version 1 Act Upon File Screen Shot

share|improve this answer

You can also select the file/folder in Finder, then invoke Alfred, type actions and hit return:

example of Alfred action list for selected Finder item

share|improve this answer
1  
This option doesn't appear in v2 of Alfred. Any work arounds beside a hotkey? – Steve Moser Mar 27 '13 at 20:46
    
For the record, in v2 this feature is in Features > File Search > Actions > File Selection. – Form Jul 29 '13 at 23:58
    
@Form Still only has a hotkey option there. – Steve Moser Sep 11 '15 at 21:29

If others search for how to get the selected files as input in an Alfred 2 workflow, you can add a hotkey trigger where the argument is set to "Selection in OS X":

It works with files selected in Finder, Alfred, and other applications. If multiple files are selected, their paths are separated by tabs in {query}. This method can also be used to get plain text selections as input, but there is currently no way to replace the selected text like in Automator.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .