|Manuals

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:

  1. Configure the Recorder.Filename property with the desired file path and name (extension not required)
  2. The recorder automatically generates two files with .idx and .dat extensions
  3. 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:

  1. Set the Filename property to reference the session file (specifically the .idx file)
  2. Execute Play with entry range parameters

Playback Options

  • Complete session playback: Pass 0 as the starting point and utilize the Count property as the endpoint
  • Specific track playback: Use the track’s position as the From parameter and the subsequent track’s position as To. For the final track, set To to the recorder’s Count property