top of page
- API -

mediaItem = reaper.AZ_GetMediaTrackItemSelect(projID,trackID,itemID,mediaType)

- API Detail-

▼Input value

  • proj (integer): Project ID

  • trackID(integer) : track ID

  • itemID(integer) : Item ID

  • mediaType(integer): 0 = all tracks, 1 = selected tracks

▼Output value

  • mediaItem(mediaItem*): Media item

- SCRIPT -

function Msg(param)

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

end


mediaItem = reaper.AZ_GetMediaTrackItemSelect(0,1,1,0)

Msg(mediaItem)


mediaItem = reaper.AZ_GetMediaTrackItemSelect(0,1,1,1)

Msg(mediaItem)

MEDIA

AZ_GetMediaTrackItemSelect

Supported versions:

1.0.3

onwards

Get track media (0/1 media acquisition method selection)

bottom of page