top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval,endTime =reaper.AZ_GetSelectedTrackMediaEndTime(0,1,1)


Msg(endTime)

- SCRIPT -

retval,endTime =reaper.AZ_GetSelectedTrackMediaEndTime(projID, selectTrackID, trackItemID)

- API -

MEDIA

reaper.AZ_GetSelectedTrackMediaEndTime

Get the end position of the specified media in the specified selected track in seconds

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

bottom of page