top of page

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