top of page
- API -

trackList,trackCount = reaper.AZ_GetTrackIdChildList(projID,trackID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • trackID(integer): Track ID

▼Output value

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

  • trackList(table)(MediaTrack) : Child track array

  • trackCount(integer) : number of child tracks

*The child's truck will be returned. The child's truck will not be included.

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


trackList, count = reaper.AZ_GetTrackIdChildList(0,0)

Msg(count)


for i, value in pairs(trackList) do

   name = reaper.AZ_GetTrackItemName(trackList[i])  

   Msg(name)

end

TRACK

AZ_GetTrackIdChildList

Supported versions:

1.0.0

onwards

Output an array of child track items for the specified track ID

bottom of page