top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

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)

- SCRIPT -

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

- API -

MEDIA

reaper.AZ_GetMediaTrackItemSelect

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

- 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

bottom of page