top of page
- API -

double position = reaper.AZ_SetPlayCursorPositionAdd(ReaProject projID, double addPos)

- API Detail-

▼Input values

projID(ReaProject): target project (0 for the current project)

addPos(number): seconds to add (negative to go back)


▼Output values

position(number): play cursor position set after adding (seconds)

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_BRONZE")


projID = 0

addPos = 1.0


position = reaper.AZ_SetPlayCursorPositionAdd(projID, addPos)

Msg(position)

CURSOR

AZ_SetPlayCursorPositionAdd

Supported versions:

3.0.0

onwards

Set the play cursor by adding seconds

bottom of page