local t = { ---Tracks index--- 2,3,4 ------------------ } for i=1, #t do tr = reaper.GetTrack(0,t[i]-1) reaper.SetTrackSelected(tr, true) end