top of page

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)

retval,trackID = reaper.AZ_GetTrackItemIndex(track)

Msg(trackID)

- SCRIPT -

retval,trackID = reaper.AZ_GetTrackItemIndex(track)

- API -

対応バージョン:

1.0.0

以降

TRACK

reaper.AZ_GetTrackItemIndex

Get the track ID of the specified track item

- API Detail-

▼Input value

track(MediaTrack): The acquired track


▼Output value

retval(boolean): Success or failure of API execution

trackID(integer): Track ID

bottom of page