Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Use Automator variables anywhere in a workflow' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Use Automator variables anywhere in a workflow
Authored by: who_cares on Dec 19, '10 02:17:58PM

Suggested improvement:
Edit the original UUID to something meaningful (but hopefully unused elsewhere in the script) to improve the readability of the section you wish to add the variable to.

For example,
In the section:
<key>variables</key>

Change:
<string>BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E</string>
To:
<string>MY-USER-FRIENDLY-NAME</string>

Then use:
$(MY-USER-FRIENDLY-NAME)
throughout your code.




[ Reply to This | # ]