top of page
- API -

mediaItem = reaper.AZ_GetMediaItemSelect(projID,itemID,mediaType)

- API Detail-

▼Input value

  • proj (integer): Project ID

  • itemID(integer) : Item ID

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

▼Output value

  • mediaItem(mediaItem*) = media item

- SCRIPT -

function Msg(param)

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

end


media = reaper.AZ_GetMediaItemSelect(0,0,0)

Msg(media)


selectMedia = reaper.AZ_GetMediaItemSelect(0,0,1)

Msg(selectMedia)

MEDIA

AZ_GetMediaItemSelect

Supported versions:

1.0.3

onwards

Get Media (0/1 Select media acquisition method)

bottom of page