top of page
- API -

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

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

- SCRIPT -

function Msg(param)

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

end


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

Msg(second)

MEDIA

reaper.AZ_GetTrackMediaStartTimeSeconds

Supported versions:

1.0.3

onwards

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

bottom of page