Go to documentation repository
...
Example. On macro 3, change the status of the Alarm event of the camera 1 or 2 Alarm event to Completed.
| Code Block |
|---|
if (Event.SourceType == "MACRO" && Event.SourceId == 3 && Event.Action == "RUN")
{
DoReactStr("INC_SERVER","1","UPDATE_STATUS","status<3>,objtypes<CAM>,objids<1|2>,actions<MD_START|MD_START>");
}; |
...