Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Run Automator workflows at the command line UNIX
Looking through applications in Terminal, I stumbled upon automator, which simply lets you run an existing Automator workflow from the Terminal. This could be useful in Perl, Bash, and other scripting.

[robg adds: The man page for the command is quite brief; it says just this: automator runs the specified workflow document. To create or edit a workflow, use the Automator application. There are no options.]
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (6 votes cast)
 
[16,941 views]  

10.4: Run Automator workflows at the command line | 2 comments | Create New Account
Click here to return to the '10.4: Run Automator workflows at the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Run Automator workflows at the command line
Authored by: jc_helary on Oct 01, '09 07:57:47AM

Snow Leopard has added a few options to the automator command.



[ Reply to This | # ]
10.4: Run Automator workflows at the command line
Authored by: jamietshaw on Nov 13, '11 10:46:36AM
In OS X 10.7 Lion, perhaps before, you can run something like
ls | automator -i - test.app
Which will send a directory listing to the Automator workflow called test.app.
open test.app --args 2
Will send the value of 2 to Automator. Multiple arguments are more tricky. See here for a solution.

[ Reply to This | # ]