Go to documentation repository
The TITLEVIEWER object corresponds to the Search by titles system object.
The events given in the table come from the TITLEVIEWER object. When the corresponding event happens, the procedures are run. The event procedure format for the object Search by titles system object:
OnEvent("TITLEVIEWER","_id_","_event_")
The events coming from the TITLEVIEWER object are given in the table.
Event | Event description | Parameters | Parameters description | Comment |
GO_VIDEO | Video request | <cam> | The ID of the camera where the titles were found | The event is generated when left double-clicking the search result line. |
<date> | Date | |||
<time> | Time |
Example.
When double-clicking the search result line in the Search by titles system object window, one can 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>"); }