DIAdem Help

Method: Play for Cursor

  • Updated2024-09-12
  • 2 minute(s) read

Method: Play for Cursor

Moves the cursor automatically along the enabled curve in the enabled area, or plays the video in the enabled area.

When the cursor reaches the end of the curve or of the video, it stops. Press <Esc> or click Pause on the DIAdem VIEW toolbar to stop the curve cursor or the video.

Object.Play(Sequential)
ObjectCursor
Object with this method
SequentialBoolean
Specifies whether the video must stop before DIAdem can execute a further command or whether DIAdem can run the video in the background. If the video runs in the background, you can use a user dialog box to control the video.

The following example plays a video:

VBScriptPython

 

Dim oMySheeet: Set oMySheet = View.ActiveSheet
oMySheet.ActiveArea.DisplayObjType = "Video"
oMySheet.ActiveArea.DisplayObj.FileName = ProgramDrv  & "\Examples\Documents\Austin_Drive.wmv"
oMySheet.Cursor.XRangeMode = "automatic"
Call oMySheet.Cursor.GotoStart
Call WndOpen("VIEW")
Call oMySheet.Cursor.Play(FALSE)