Go to documentation repository
The DoReactSetup method is used to temporary change the parameters of the system object. The method changes only the specified parameters of the object, leaving other parameters unchanged.
Syntax for method invocation:
function DoReactSetup (objtype : String, id : String, param<value> [, param<value>] : String )
Method arguments:
Syntax for setting a value to a parameter corresponds to a string:
“param<value>”, where
param is a name of the parameter;
value is a value of the parameter.
Syntax for setting a value to several parameters corresponds to a string:
“param1<value1>,param2<value2>…”.
Elements of the list are separated by commas without spaces.
Possible values of the param argument: String type, range is limited by the available parameters of the specified reaction. Possible values of the value argument: String type, range depends on the parameter that you want to set.
Example. On macro 1 starts, temporary remove all cameras from the first monitor.
if (Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN") { DoReactSetup ("MONITOR","1","REMOVE_ALL",""); }