I would like to define aliases (keywords) in Alfred so that by typing keyboard
followed by RET, it opens a pre-specified folder in Finder.
For example: p1
could be an alias for "project_1" that lives under:
/Users/josh/code/projects/project_1
so when I open Alfred and type p1
, Alfred opens the above path directly in Finder.
Is this possible with Alfred? How?
Best Answer
Yes, you can. There are many ways to achieve the result you want. The easiest method is to create a workflow that contains all the aliases (keywords) that open folders/files in Finder. You must use Alfred 2 for this to work.
Inputs > Keywords
as your trigger. Fill in the keyword you want to use for as aliases. You’ll see one node is created in the workflow main panel.Actions > Launch Apps / Files
. Drag the folders you wish to launch from Finder into the list.You can create set of folders if you wish. But by far this is the one I prefer because it offers more flexibility than using scripts like
Open ~/Desktop
via Terminal.