There are 5 global variables specific to Moving Light Assistant that are shared between any running scripts. They will retain their values between scripts being run during the time Moving Light Assistant is running. The values are not retained between launches of the Moving Light Assistant application. The values of the variables are passed to the script when it is run, and then when the script finishes, the values are saved back to the application. As a result, you can not pass values between multiple scripts that are running at the same time.
The 5 variables which can be used like any other variable (they are string variables, but can be treated as integers if required) are called…
globalVarA globalVarB globalVarC globalVarD globalVarE

Example

globalVarA = globalVarA + 1
MessageDialog(globalVarA)
Every time you run the script, a dialog will appear with the value of globalVarA. It will be incremented every time you run the script.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.