top of page
- API -

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

- 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

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())


allCount,typeCount = reaper.AZ_GetSelectedMediaTypeCount(0,"WAV")

Msg(allCount)

Msg(typeCount)

MEDIA

AZ_GetSelectedMediaTypeCount

Supported versions:

1.0.0

onwards

Number of all selected media (including format specifications)

bottom of page