Perform Script [ with variables ]

Idea created by fitch on May 24, 2016

    Idea: add an option to the Perform Script script step that would enable the current script's variables to be passed on to the next script. E.g.:


    Perform Script["Activate death ray"; Parameter: "just testing" ; With variables:On]


    Purpose: scripts could be shorter and simpler because we wouldn't have to declare the same variables in child scripts, and wouldn't have to worry about cleaning up global variables.


    It could not only pass variables declared previously in a parent script, but could also pass variables declared in a Let function in the script parameter. Yes, this Yet Another Multiple Script Parameter Idea. Trying to think a little out of the box here -- instead of looking at rejiggering the script parameter, maybe leverage something we already have. The UI change would be a simple checkbox.