Now I want to execute the workflow from a bash shell script. I tried this:
galway$ automator get-diagram-strings.workflow
2011-07-13 15:55:40.235 automator[9153:903] No application name for definition file at path: /Library/Automator/Office.definition
2011-07-13 15:55:40.635 Automator Runner[9154:903] No application name for definition file at path: /Library/Automator/Office.definition
(
"/Users/siemsen/Desktop/ipv6.txt"
)
galway$
This works, but I don't like the "error" messages about "no application name". What's the problem?
Also, I'd rather not see the last three lines, in parentheses, which are an informational message. I suppose I could use I/O redirection in the shell script, but that seems klunky.
Also, I'd like to be able to check the status of the workflow run within the bash script. Does the "automator" command return a status? Is that a reasonable thing to do, or is there a better way?
I'd be most happy if there were a command-line version of the "Extract PDF Text" action, so that I could bypass Automator.
Any help appreciated.
-- Pete