Right-click on the app on the left and choose "Export".
It will create a text file. If you email that file to me I'll take a look at it.
john.dorlon@quest.com
You can pass variables to a script if the script is a file (not text in side the script action)
Steps to do that are here: Using Variables in a Toad Automation Query
In that post I show how to do this with a "Create Variable" action but it just as easily could have been a Query Iterator.
I have a dropbox folder with some documents I've written. Look at the one called "Automation Designer - passing multiple parameters to a script"