3 posts were split to a new topic: How do I reference a variable in an applescript?
For more information, see the wiki Searching the Forum for Answers section.