top of page

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

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


retval,depthNum = reaper.AZ_GetSelectedTrackIdDepth(0,1)

Msg(depthNum)

- SCRIPT -

retval,depthNum = reaper.AZ_GetSelectedTrackIdDepth(projID,selectTrackID)

- API -

対応バージョン:

1.0.0

以降

TRACK

reaper.AZ_GetSelectedTrackIdDepth

Get the number of levels in the specified selected track ID

- 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

bottom of page