top of page
- API -
endTime = reaper.AZ_GetMediaItemEndTime(mediaItem)
- API Detail-
▼Input value
item(MediaItem): Media item
▼Output value
retval(bool): Whether the API execution was successful or not
endTime(double): The end time of the media item.
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
item = reaper.AZ_GetMediaItemSelect(0,0,0)
endTime = reaper.AZ_GetMediaItemEndTime(item)
Msg(endTime)
MEDIA
AZ_GetMediaItemEndTime
Supported versions:
1.0.3
onwards
Get the end time (seconds) of the specified media item.
bottom of page