Go to documentation repository
Format of events procedure for the Captions search object:
OnEvent("TITLEVIEWER","_id_","_event_")
Operator format to describe actions with the Captioner:
DoReact("CAM_TITLE","_id_","_command_");
Example for the Captions search object:
When double-clicking the search result line in the Captions search window, display the video archive corresponding to this result on the monitor 4.
OnEvent("TITLEVIEWER","1","GO_VIDEO")
{
DoReact("MONITOR","4","ARCH_FRAME_TIME","cam<"+cam+">,date<"+date+">,time<"+time+">");
DoReact("MONITOR","4","KEY_PRESSED","key<PLAY>");
}
Example for the Captioner.
Start the update of the captions database on Macro 1.
OnEvent("MACRO","1","RUN")
{
DoReact("CAM_TITLE", "2", "REINDEX");
}