top of page
- API -
retval,allCount,typeCount = reaper.AZ_GetTrackMediaTypeCount(projID,trackID,mediaType)
- API Detail-
▼Input value
proj (integer): Project ID
trackID(integer) : track ID
mediaType(char): Type name ("WAV", "MP4", "MP3", etc.)
*If you leave the mediaType anonymous, all will be included.
▼Output value
retval(bool): Whether the API execution was successful or not
allCount(integer): The number of media in the specified project
typeCount(integer): Number of media of the specified format
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
allCount,typeCount = reaper.AZ_GetTrackMediaTypeCount(0,0,"WAV")
Msg(allCount)
Msg(typeCount)
MEDIA
reaper.AZ_GetTrackMediaTypeCount
Supported versions:
1.0.3
onwards
Number of all media in the specified track (including number of specified formats)
bottom of page