TVirtualUI.Recorder Property
Description
The Recorder property manages session recording and playback functionality within TVirtualUI.
Syntax
property Recorder: IRecorder;
Recording a Session
To initiate recording:
- Configure the
Recorder.Filenameproperty with the desired file path and name (extension not required) - The recorder automatically generates two files with
.idxand.datextensions - Invoke
Recorder.Play, providing a track identifier for distinguishing multiple recordings
To conclude recording, call Recorder.Stop.
Playing a Recorded Session
To replay a recorded session:
- Set the
Filenameproperty to reference the session file (specifically the.idxfile) - Execute
Playwith entry range parameters
Playback Options
- Complete session playback: Pass
0as the starting point and utilize theCountproperty as the endpoint - Specific track playback: Use the track’s position as the
Fromparameter and the subsequent track’s position asTo. For the final track, setToto the recorder’sCountproperty