top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval, second = reaper.AZ_GetTrackMediaStartTimeSeconds(0, 1, 1)

Msg(second)

- SCRIPT -

retval, second = reaper.AZ_GetSelectedMediaStartTimeSeconds(projID, trackID, trackItemID)

- API -

MEDIA

reaper.AZ_GetTrackMediaStartTimeSeconds

Gets the start position of the specified media in the specified track in seconds.

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • trackID(integer) : track ID

  • trackItemID(integer): Track media ID

▼Output value

  • retval(boolean): Success or failure of API execution

  • second(number): The start position of the media (seconds)

bottom of page