top of page
- API -

allCount = reaper.AZ_GetTrackCountSelect(projID,trackType)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • trackType(integer): 0/Normal track 1/Selected track

▼Output value

  • retval(boolean): Success or failure of API execution

  • allCount(integer) : number of tracks

- SCRIPT -

function Msg(param)

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

end


count = reaper.AZ_GetTrackCountSelect(0,0)

Msg(count)


count = reaper.AZ_GetTrackCountSelect(0,1)

Msg(count)

TRACK

AZ_GetTrackCountSelect

Supported versions:

1.0.3

onwards

Get the number of tracks for a given track type

bottom of page