Versions Compared

Key

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

...

Code Block
languagejavascript
 function  DoReactStr(objtype : String,  id : String,  action : String,  param<value>  [, param<value>] : String)

...

Code Block
languagejavascript
 if (Event.SourceType == "CAM" &&  Event.Action == "MD_START")
{
  var camid = Event.SourceId;
  DoReactStr("MONITOR","1","ACTIVATE_CAM","cam<"+ camid +">");
  DoReactStr("MONITOR","1","KEY_PRESSED","key<SCREEN.1>");
}

...

Code Block
languagejs
if (Event.SourceType == "CAM" &&  Event.Action == "MD_STOP")
{
    var camid = Event.SourceId;
    DoReactStr("CAM",camid,"REC_STOP","delay<5>");
}

...

Code Block
if (Event.SourceType == "MACRO" &&  Event.Action == "RUN" &&  Event.SourceId == "1")
{
    DoReactStr("MONITOR","10","CONTROL_TELEMETRY","cam<4>,on<1>");
}
if (Event.SourceType == "MACRO" &&  Event.Action == "RUN" &&  Event.SourceId == "2")
{
    DoReactStr("MONITOR","10","CONTROL_TELEMETRY","cam<4>,on<0>");
}