top of page

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


retval,trackList = AZ_SILVER.AZ_GetTrackDepthList(0)


for i, value in pairs(trackList) do

   Msg(trackList[i].Track)

   Msg(trackList[i].Depth)

end

- SCRIPT -

retval,depthList = AZ_SILVER.AZ_GetTrackDepthList(projID)

- API -

対応バージョン:

1.0.0

以降

TRACK

AZ_SILVER.AZ_GetTrackDepthList

Array output of all track hierarchies

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

▼Output value

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

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

bottom of page