top of page
- API -
track,trackId = reaper.AZ_GetSelectedTrackFirstInfo(projID)
- API Detail-
▼Input value
projID (ReaProject): Project ID
▼Output value
track(MediaTrack) – the first selected track item
trackID(integer) : The regular track ID of the first selected track
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring((param)).."\n")
end
track,trackId = reaper.AZ_GetSelectedTrackFirstInfo(0)
name = reaper.AZ_GetTrackIdName(0,trackId)
Msg(name)
name = reaper.AZ_GetTrackItemName(track)
Msg(name)
TRACK
AZ_GetSelectedTrackFirstInfo
Supported versions:
1.0.3
onwards
Get the first track and track ID of the selected tracks
bottom of page