8

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!

2
  • Alfred is not AppleScriptable, and I didn't find a built-in function or additional hotkey.
    – Daniel Beck
    Commented Feb 4, 2011 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.) Commented Feb 12, 2014 at 21:48

3 Answers 3

11

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

1
  • The layout has now changed. It's available under Features > File Search > Actions at the bottom: File Selection.
    – P A N
    Commented Sep 10, 2016 at 18:19
5

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.

3

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

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

You must log in to answer this question.

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