Reply To: [Solved] [CGI-Bin] Set Variable and start another script in one event

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

#1092
Dierk
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 4 years, 8 months ago by Dierk.
  • This reply was modified 4 years, 8 months ago by Dierk.
  • This reply was modified 4 years, 8 months ago by Dierk Walter.
  • This reply was modified 4 years, 8 months ago by Dierk Walter.
Scroll to top