A post was merged into an existing topic: How do I reference a variable in an applescript?
For more information, see the wiki Searching the Forum for Answers section.