1. If you want to pass parameters to scripts, right click some button-->perform script-->put the parameters into the edit box 0f open script parameter; in the script, use Get(ScriptParameter) to get the parameter
2. no way to program except scripts
3. in the scripts, use set variable script to set global variable
the global variable name should begin with $$
the local variable name should begin with $
4. In the scripts, the sub scripts can be performed just as sub function, the script step is: perform script, and then select the script name