J. Kevin Wolfe has written a very concise overview of how Automator passes information from action to action, and how to “trick” it into storing data for later use:
“To store references, use the Copy to Clipboard action from System Library. Place this after the results you need to store. Then to call it up, place a Run AppleScript action in the workflow with the following scriptlet before the action that needs the data from earlier in the workflow:
--Return Clipboard Contents to Data Flow return (the clipboard)This takes the information stored on the clipboard and puts it back in the Data Flow.”
This has been made into an Action…
…unfortunately Kevin’s original code didn’t make it in though !
It can be downloaded on the Apple Automator pages, here.
regards
Ric
Comment by Ric Latham — November 4, 2005 @ 3:54 pm
Thank Kevin, I’ve updated the post to reflect the new address. Great site!
Comment by Steve — November 1, 2005 @ 5:06 pm
My blog updated the month. You’ll now find the entry here:
http://homepage.mac.com/jkevinwolfe/otto/files/archive-0.html
It’s called “Uncorking the Data Flow”
Comment by J. Kevin Wolfe — November 1, 2005 @ 4:51 pm