Versions Compared

Key

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

...

Info
titleExample

If the Object’s type column has the Macro value, the Identifier column has the 1 value and the Event column has the Executed value, then

Code Block
languagejavascript
if (Event.SourceType == "MACRO" && Event.SourceId==1 && Event.Action == "RUN")
{
    DoReactStr("CAM", "2", "REC", "");
}

script can be used instead of script.

Code Block
languagejavascript
DoReactStr("CAM", "2", "REC", "");

The detailed information on the elements of the settings panel for the Script object is given in Administrator's guide.

Info
titleExample.

Recording on Camera 1 is to be started when controlling PTZ device in the Video surveillance monitor.

For this adjust the Script object as follows:

  1. Select the required time zone when the script is to be executed.
  2. Enter the script text:
    Image Added
  3. Adjust the filter as follows:
    1. Select CORE in the Object’s type dropdown list.
    2. Enter DO_REACT in the Event field.