top of page
function Msg(param)
reaper.ShowConsoleMsg(tostring((param)).."\n")
end
track,trackId = reaper.AZ_GetSelectedTrackFirstInfo(0)
retval,name = reaper.AZ_GetTrackIdName(0,trackId)
Msg(name)
retval,name = reaper.AZ_GetTrackItemName(track)
Msg(name)
- SCRIPT -
track,trackId = reaper.AZ_GetSelectedTrackFirstInfo(projID)
- API -
対応バージョン:
1.0.0
以降
TRACK
reaper.AZ_GetSelectedTrackFirstInfo
Get the first track and track ID of the selected tracks
LUA
- 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
bottom of page