top of page
- API -
endTime =reaper.AZ_GetSelectedMediaEndTime(projID, selectItemID)
- API Detail-
▼Input value
projID (ReaProject): Project ID
selectItemID(integer): Selected 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_GetSelectedMediaEndTime(0,1)
Msg(endTime)
MEDIA
reaper.AZ_GetSelectedMediaEndTime
Supported versions:
1.0.3
onwards
Gets the end position of the specified selected media in seconds.
bottom of page