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