top of page
- API -
endTime =reaper.AZ_GetSelectedTrackMediaEndTime(projID, selectTrackID, trackItemID)
- API Detail-
▼Input value
projID (ReaProject): Project ID
selectTrackID (integer) : Select track ID
trackItemID(integer): Track 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_GetSelectedTrackMediaEndTime(0,1,1)
Msg(endTime)
MEDIA
reaper.AZ_GetSelectedTrackMediaEndTime
Supported versions:
1.0.3
onwards
Get the end position of the specified media in the specified selected track in seconds
bottom of page