top of page
- API -

regionStartPos,regionEndPos = reaper.AZ_GetRegionMarkerPosition(projID,regionID)

- API Detail-

▼Input value

projID(ReaProjct): Project ID

regionID(integer): Region ID


▼Output value

retval(boolean): Success or failure of API execution

startPos(number): Start position (seconds)

endPos(number): End position (seconds)


- SCRIPT -

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


startPos,endPos = reaper.AZ_GetRegionMarkerPosition(0,0)

Msg(startPos)

Msg(endPos)

MARKER

AZ_GetRegionMarkerPosition

Supported versions:

1.0.3

onwards

Get the start and end points of a specified region ID

bottom of page