Tuesday, January 23, 2018

#1 2005-11-24 03:01:48 pm

Registered: 2005-06-10
Posts: 4

global variables in automator

Hi all, I want to ask if in automator exists something like "global variables".

At the beginning of a workflow, I need to store  output from some action. Then I need to perform other actions and at the and I need to put the stored value as an input to another action.

Thank you for any suggestions.




#2 2005-11-27 05:37:42 am

Kevin Wolfe
From:: Cincinnati OH USA
Registered: 2005-10-27
Posts: 67

Re: global variables in automator


There are a few ways to do this.

1. Download Temporary Storage actions:

http://automatoractions.com/files/tempo … ns1.0.html

This is a set of actions that can hold info and then return it.

2. Likewise, you can just use your clipboard to do this. In the System Library there's the Copy to Clipboard action. To call the info back up, Use:

return (the clipboard)

at the appropriate place in a Run Applescript action.

3. If you'd prefer the return clip in an action, Ric Latham has created one:

http://www.apple.com/downloads/macosx/a … board.html

This is used with the Copy to Clipboard action.

Note that if you'll be sharing your action, I'd recommend 2. The other options will only work if the added actions are installed on the other user's machine.




Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)