top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval,allCount,typeCount = reaper.AZ_GetSelectedMediaTypeCount(0,0,2)

Msg(allCount)

Msg(typeCount)

- SCRIPT -

retval,allCount,typeCount = reaper.AZ_GetSelectedMediaTypeCount(projID,mediaType)

- API -

ID

MEDIA

reaper.AZ_GetSelectedMediaTypeCount

Number of all selected media (including format specifications)

- API Detail-

▼Input value

  • proj (integer): Project ID

  • mediaType(char): Type name ("WAV", "MP4", "MP3" etc)

  • *If mediaType is set to anonymous, it will be all.

▼Output value

  • retval(bool): Whether or not the API execution was successful

  • allCount(integer): Number of all media in the specified project

  • typeCount(integer): Number of media of specified format

bottom of page