top of page

function Msg(param)

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

end


item = reaper.AZ_GetMediaItemSelect(0,0,0)

retval,endTime = reaper.AZ_GetMediaItemEndTime(item)

Msg(endTime)

- SCRIPT -

retval,endTime = reaper.AZ_GetMediaItemEndTime(mediaItem)

- API -

対応バージョン:

2.0.0

以降

MEDIA

reaper.AZ_GetMediaItemEndTime

Get the end time (seconds) of the specified media item.

- 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.

bottom of page