Use current selected file in finder with Alfred.app?
Solution 1:
Indeed there is.
- Select the file in Finder
- 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
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).
Solution 2:
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.