top of page
- API -

cursorPos = reaper.AZ_SetPlayCursorPosition(projID,startEndType,setPos)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • startEndType (integer): 0/time from 0 seconds 1/time from the last waveform point

  • setPos (double) : Cursor position (seconds)

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • cursorPos(double): Cursor position (seconds)

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring((param)).."\n")

end


cursorPos = reaper.AZ_SetPlayCursorPosition(0,0,2)

Msg(cursorPos)

CURSOR

AZ_SetPlayCursorPosition

Supported versions:

1.0.3

onwards

Set the playback cursor position (seconds)

bottom of page