Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

OPERATORPROTOCOL Operator protocol

EVENT_VIEWER Event Viewer

Formats

Format of events procedure for the Operator protocol object:

...

  1. 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>");
    }

  2. 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.

...