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
February 18, 2016 at 11:51
#1092
Participant
Hi Marcus,
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.
-
This reply was modified 6 years, 11 months ago by
Dierk.
-
This reply was modified 6 years, 11 months ago by
Dierk.
-
This reply was modified 6 years, 11 months ago by
Dierk Walter.
-
This reply was modified 6 years, 11 months ago by
Dierk Walter.