Home › Forums › V-Control General › [Solved] [CGI-Bin] Set Variable and start another script in one event › Reply To: [Solved] [CGI-Bin] Set Variable and start another script in one event
no, that’s currently not possible, a scrRunTask has only one parameter, the task name.
But it’s an interesting suggestion. I will put it on the to do list.
But there is a work around for you. Instead of calling a script, you can call a device command. Create a new device with a Command “SetVar” for example. in this command write
dim res as string
res = SetGlobalVar("MyGlobalVarName",P1)
MyGlobalVarName has to be between quotation marks
P1 is a parameter that you can set.