top of page
- API -
depthNum = reaper.AZ_GetSelectedTrackIdDepth(projID,selectTrackID)
- API Detail-
▼Input value
projID(ReaProjct): Project ID
selectTrackID(integer): Select track
▼Output value
retval(boolean): Success or failure of API execution
depth(integer): track depth
- SCRIPT -
package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"
require("reaper_AZSTOKE_SILVER")
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
depthNum = reaper.AZ_GetSelectedTrackIdDepth(0,1)
Msg(depthNum)
TRACK
AZ_GetSelectedTrackIdDepth
Supported versions:
1.0.3
onwards
Get the number of levels in the specified selected track ID
bottom of page