- 10.5: Run Automator workflows from AppleScript
-
A couple of older hints, such as this one and this one, discuss running Automator workflows from AppleScript. Leopard, however, has built-in Automator support on the Unix command line, which can be called from AppleScript using the do shell script construct. This method also allows passing input values and variables to the workflow. The basic form of the command is: automator [-i inputs] [-D variables] /Path/to/WorkflowThe -i option provides a list of inputs for the workflow, and the -D option allows temporary setting of workflow variables.The trick to using this technique, however, is that the list of inputs (and assumedly the list of variables, though that's n... view original article
Thu, 13 Nov 2008 16:30:00 +0100 - more MacOSXHints.com articles
-
- related articles found at MacOSXHints.com
- 10.4: Pass input as var to Automator's Run Shell Script Mon, 09 Apr 2007 16:30:00 +0200
- 10.4: Run Automator workflows at the command line Wed, 09 Aug 2006 16:30:00 +0200
- 10.5: 10.5.1 update solves AppleScript/Automator issue Mon, 04 Feb 2008 16:30:04 +0100
- 10.5: Call Automator workflows from AppleScript Thu, 06 Dec 2007 16:30:00 +0100
- 10.5: Organize Automator workflows in Finder menu Thu, 20 Dec 2007 16:30:05 +0100