Go to documentation repository
Page History
Tip |
---|
Formats
Format of events procedure for the Operator protocol object:
...
- Delete the first alarm on Camera 3 from the Operator protocol 1 window on Macro 2.
Code Block OnEvent ("MACRO","2","RUN") { DoReact("OPERATORPROTOCOL","1","DEL_ALARM","objtype<CAM>,objid<3>,options<first>"); }
- Hide the Alarm situation, Suspicious situation and False alarm buttons for the Disarm event from Camera 12 in the Operator protocol 1 window on Macro 2.
Code Block OnEvent ("MACRO","2","RUN") { DoReact("OPERATORPROTOCOL","1","HIDE_BUTTON","button<alarm,suspicious,false>,hide<1>,objtype<CAM>,objaction<DISARM>,objid<12>"); }
Example of using events and reactions of the the Event Viewer object:
Set general background color to black and general text color to white for Event Viewer 1 on Macro 1.
...
Overview
Content Tools