top of page
- API -

endTime =reaper.AZ_GetTrackMediaEndTime(projID,trackID,trackItemID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • trackID (integer) : Track ID

  • trackItemID(integer): Track item ID

▼Output value

  • retval(boolean): Success or failure of API execution

  • endTime(number): End position of the media (in seconds)

- SCRIPT -

function Msg(param)

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

end


endTime =reaper.AZ_GetTrackMediaEndTime(0,1,0)


Msg(endTime)

MEDIA

reaper.AZ_GetTrackMediaEndTim

Supported versions:

1.0.3

onwards

Gets the end position of the specified media in the specified track in seconds.

bottom of page