I was enjoying the fact it can select the transparency for the color
assigned to the track so that it shows a solid thick white
while selected when I realised I had to scroll down the huge
list of tracks to click on an empty space (ready for a new track) so
as to see ALL the tracks with its colors, preventing that solid white
on the one or on the many selected.
At first it looks obvious that you click to select,
click again to unselect, but it is not so.
If unselected, a click will select it and will remain
so regardless of the many clicks done on it.
The only way is to click on other track, existing (becoming
selected) or not (all tracks becoming unselected).
So while this is so I have made this ACTION to unselect
all selected tracks and allow its colors to shine:
😀😀😀😀
🎹🎹🎹🎹
FGM #NO TRACKS SELECTED
Code:
----START OF SCRIPT
--- FGM #NO TRACKS SELECTED
--- Script by FGM using AI
-- Deselect and Show All Tracks
-- Deselect all tracks
num_tracks = reaper.CountTracks(0)
for i = 0, num_tracks - 1 do
track = reaper.GetTrack(0, i)
reaper.SetTrackSelected(track, false)
end
-- Show all tracks
num_tracks = reaper.CountTracks(0)
for i = 0, num_tracks - 1 do
track = reaper.GetTrack(0, i)
reaper.SetMediaTrackInfo_Value(track, "B_SHOWINTCP", 1)
reaper.SetMediaTrackInfo_Value(track, "B_SHOWINMIXER", 1)
end
--- END OF SCRIPT
Save it as a .lua file.
Place it in the Scripts folder of your REAPER installation.
Run the script from within REAPER.
Another one in my humble collection....
https://forum.cockos.com/showthread....21#post2676621
YUPIIII.
😀😀😀😀
🎹🎹🎹🎹