Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Pre-Release Discussion

Reply
 
Thread Tools Display Modes
Old 09-25-2023, 06:18 AM   #1
F1308
Human being with feelings
 
F1308's Avatar
 
Join Date: Nov 2022
Location: It is season dependant.
Posts: 523
Default Morning playing REAPER 7.0 and I love it !!!!

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.

😀😀😀😀
🎹🎹🎹🎹

Last edited by F1308; 10-16-2023 at 06:47 PM.
F1308 is offline   Reply With Quote
Old 10-10-2023, 09:43 PM   #2
lucas_LCS
Human being with feelings
 
Join Date: Dec 2015
Posts: 2,066
Default

Use CTRL+Left Click to unselect or deselect a selected track.
Can't say for sure, but for Mac replace CTRL with CMD.

There's no need for a script unless it makes it more fun for you.

::
__________________
LCS Themes
lucas_LCS is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.