top of page
- API -

endTime =reaper.AZ_GetMediaEndTime(projID,itemID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • itemID(integer): 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_GetMediaEndTime(0,0)


Msg(endTime)

MEDIA

reaper.AZ_GetMediaEndTime

Supported versions:

1.0.3

onwards

Gets the end position of the specified media in seconds.

bottom of page