Multiple Variables for Automator’s “Run AppleScript” action

  1. Save your variables via separate “Set Value of Variable” actions
  2. Stack multiple “Get Value of Variable” actions, making sure they link to each other.
  3. Connect the last “Get Value of Variable” action to the “Run AppleScript” action
  4. the input variable will now be an array – access each element normally eg
    1. set firstVar to first item of input
    2. set secondVar to second item of input
Advertisement
This entry was posted in Automator. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s