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_GetSelectedTrackIdChildList(0,0)


for i, value in pairs(trackList) do

   retval,name = reaper.AZ_GetTrackItemName(trackList[i])

   Msg(name)

end

- SCRIPT -

retval,trackList,trackCount = AZ_SILVER.AZ_GetSelectedTrackIdChildList(projID,selectTrackID)

- API -

対応バージョン:

1.0.0

以降

TRACK

AZ_SILVER.AZ_GetSelectedTrackIdChildList

Output the child tracks of the specified track as an array

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectTrackID(integer): Select track ID

▼Output value

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

  • trackList(table)(MediaTrack) : Track array

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


bottom of page