top of page
- API -

trackID = reaper.AZ_GetTrackItemIndex(track)

- API Detail-

▼Input value

track(MediaTrack): The acquired track


▼Output value

retval(boolean): Success or failure of API execution

trackID(integer): Track ID

- SCRIPT -

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

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


track = reaper.AZ_GetTrackItemSelect(0,0,1)

trackID = reaper.AZ_GetTrackItemIndex(track)

Msg(trackID)

TRACK

AZ_GetTrackItemIndex

Supported versions:

1.0.3

onwards

Get the track ID of the specified track item

bottom of page