top of page
- API -

depthList = reaper.AZ_GetTrackDepthList(projID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

▼Output value

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

  • depthList(table)(integer) : Track hierarchy array

- SCRIPT -

os = reaper.GetOS()

if "Win" == string.match(os,"(Win)") then

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

else

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dylib"

end

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


trackList = reaper.AZ_GetTrackDepthList(0)


for i, value in pairs(trackList) do

Msg(trackList[i].Track)

Msg(trackList[i].Depth)

end

TRACK

AZ_GetTrackDepthList

Supported versions:

1.0.3

onwards

Array output of all track hierarchies

bottom of page