Headlines, Hints & Tips

Hints & Tips

Store and Retrieve Workflow Data

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.”

Comments

8 Comments »

Pages: « 2 [1] Show All

  1. 3.

    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

  2. 2.

    Thank Kevin, I’ve updated the post to reflect the new address. Great site!

    Comment by Steve — November 1, 2005 @ 5:06 pm

  3. 1.

    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

Pages: « 2 [1] Show All

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>