Prev Previous Post   Next Post Next
Old 09-30-2020, 09:43 AM   #26
Archie
Human being with feelings
 
Archie's Avatar
 
Join Date: Oct 2017
Location: Russia
Posts: 366
Default

Quote:
Originally Posted by cjewellstudios View Post
Archie,

Your scripts are a delight. I commented on your "smart template add fx chain" set of scripts back on page one of this thread and I had another idea to improve it.

You have a user option in some of these scripts to float the gui or not, which is awesome. I was thinking though, there are some plugins where sometimes I'd like to float the gui and sometimes I wouldn't. Particularly, when I'm adding a plugin to multiple tracks I'd prefer not to float the gui's.

Is there a way to add logic to these scripts that says: if more than one track is selected, do not float gui's?

That way if you are adding a channel strip type plugin to one track, it floats, but if you add the same plugin to 2,3, or 10 tracks, your screen isn't taking over by 10 floating plugins. What do you think?
In the script 'Archie_FX; Smart template - Add Fx chain by name for selected tracks.lua' replace this line
Code:
reaper.TrackFX_Show(selTrack,alwaysLastFx,open_Fx);
On this
Code:
    if countSelTrack <= 1 then
        reaper.TrackFX_Show(selTrack,alwaysLastFx,open_Fx);
    end;



And in the script 'Archie_FX; Smart template - Add Fx chain by name for selected items or in time selection.lua' add the line
Code:
if CountSelItem > 1 then openFx = 0  end;
__________________
=================================
ReaPack| Archie-ReaScript: Discussion | Donate | Donate2 | Donate3 | PayPal |
Archie is offline   Reply With Quote
 

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 09:30 AM.


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