Go to documentation repository
Page History
...
Code Block | ||
---|---|---|
| ||
DoReactStr("CAM","1","MD_STARTREC",""); |
The param argument can take the following values: Type – String, range – available parameters of the specified action. The value argument can take the following values: Type – String, range – depends on the parameter.
...
Code Block | ||
---|---|---|
| ||
if (Event.SourceType == "CAM" && Event.Action == "MD_STOP") { var camid = Event.SourceId; DoReactStr("CAM",camid,"REC_STOP","delay<5>"); } |
Problem. Use macros 1 to enable telemetry control using mouse on the camera 4 displayed in the monitor 10. Use macros 2 to disable it.
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>");
}
|
Overview
Content Tools