Hans-Pe Posted September 3, 2021 Share Posted September 3, 2021 I built some Quick Actions in Automator (e.g. with pdf actions like "Combine PDF Pages"). I wonder if and how it is possible to reuse them in Alfred and invoke them in Alfred File Actions. I would prefer to invoke them from Alfred's user interfaces instead to have to memorize crazy keyboard shortcuts or to have to ⌃click the file selection in Finder. I am running BigSur. - Hans-Peter Link to comment
deanishe Posted September 3, 2021 Share Posted September 3, 2021 (edited) You can run Automator workflows with the /usr/bin/automator command-line program: /usr/bin/automator -i /path/to/input/file /path/to/workflow.workflow Edited September 3, 2021 by deanishe Hans-Pe 1 Link to comment
Hans-Pe Posted September 4, 2021 Author Share Posted September 4, 2021 20 hours ago, deanishe said: You can run Automator workflows with the /usr/bin/automator command-line program: /usr/bin/automator -i /path/to/input/file /path/to/workflow.workflow That's it! Thank you! In order to feed multiple files into a workflow, automator requests to get the list of file pathes to be piped from stdin separated by newlines (see man). So I added printf in front of automator. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now