Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 09-29-2018, 07:58 PM   #1
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 1,651
Default Action to toggle collapse folder in mixer?

Hi, I have been looking through the actions list, I can't find an action to toggle collapsing selected folder tracks in the mixer view. I can find it for TCP, but not MCP.

Does anything like that exist anywhere? Would be really useful for me.

thanks in advance.
dave
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 6,Motu 828es, Cranborne ADAT500
poetnprophet is offline   Reply With Quote
Old 09-30-2018, 05:17 AM   #2
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

No folder collapsing actions for the MCP, afaik. I have couple of custom actions to collapse folders both in TCP and MCP:

Custom: Collapse selected folders
SWS: Save current track selection
SWS: Set selected folder(s) collapsed
SWS: Select only children of selected folders
SWS: Hide selected track(s) from MCP
SWS: Restore saved track selection

Custom: Uncollapse selected folders
SWS: Save current track selection
SWS: Set selected folder(s) uncollapsed
SWS: Select only children of selected folders
SWS: Show selected track(s) in MCP
SWS: Restore saved track selection
xpander is offline   Reply With Quote
Old 10-01-2018, 01:04 PM   #3
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 1,651
Default

Works great! appreciate it!
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 6,Motu 828es, Cranborne ADAT500
poetnprophet is offline   Reply With Quote
Old 10-01-2018, 01:59 PM   #4
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 1,651
Default

Ok here's a follow up question:

I'm using this action to collapse all folders in the mixer (which translates to my control surface)

Mixer: Toggle show tracks in folders in Mixer

But the new custom actions above don't work after using this action to collapse the folders. Any ideas why, any ways around that?

The goal being to collapse all the folders when I want to, and open/expand one or more folders at a time when I want to...by adding button presses to these functions.
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 6,Motu 828es, Cranborne ADAT500
poetnprophet is offline   Reply With Quote
Old 10-02-2018, 09:35 PM   #5
woogish
Human being with feelings
 
Join Date: Feb 2011
Posts: 693
Default

I'm a real FAN
woogish is offline   Reply With Quote
Old 11-16-2019, 08:10 AM   #6
Joe90
Human being with feelings
 
Join Date: Aug 2019
Posts: 853
Default

Quote:
Originally Posted by xpander View Post
No folder collapsing actions for the MCP, afaik. I have couple of custom actions to collapse folders both in TCP and MCP:

Custom: Collapse selected folders
SWS: Save current track selection
SWS: Set selected folder(s) collapsed
SWS: Select only children of selected folders
SWS: Hide selected track(s) from MCP
SWS: Restore saved track selection

Custom: Uncollapse selected folders
SWS: Save current track selection
SWS: Set selected folder(s) uncollapsed
SWS: Select only children of selected folders
SWS: Show selected track(s) in MCP
SWS: Restore saved track selection
Hi xpander, this is great, thanks! Do you (or anyone else) know if it's possible to turn this into a cycle action so both actions can be assigned to one command, and it just toggles the state?
Joe90 is offline   Reply With Quote
Old 11-17-2019, 05:46 AM   #7
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by Joe90 View Post
Do you (or anyone else) know if it's possible to turn this into a cycle action so both actions can be assigned to one command, and it just toggles the state?
I tried making a cycle action of these, but since these actions don't report their toggle state, it wasn't possible.
xpander is offline   Reply With Quote
Old 08-23-2020, 07:24 AM   #8
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Quote:
Originally Posted by xpander View Post
No folder collapsing actions for the MCP, afaik. I have couple of custom actions to collapse folders both in TCP and MCP:

Custom: Collapse selected folders
SWS: Save current track selection
SWS: Set selected folder(s) collapsed
SWS: Select only children of selected folders
SWS: Hide selected track(s) from MCP
SWS: Restore saved track selection

Custom: Uncollapse selected folders
SWS: Save current track selection
SWS: Set selected folder(s) uncollapsed
SWS: Select only children of selected folders
SWS: Show selected track(s) in MCP
SWS: Restore saved track selection

Sorry to wake this old thread up but there's a flaw with the "Uncollapse Selected Folders" custom action in that, if any of the tracks in a collapsed folder happen to be previously hidden from the MCP (using the Track Manager), then those tracks are also 'uncollapsed' and made visible in the MCP :-(

When collapsing and uncollapsing MCP folders by clicking the in-built Reaper button, this flaw does not occur.
uncleswede is online now   Reply With Quote
Old 08-23-2020, 10:14 AM   #9
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by uncleswede View Post
Sorry to wake this old thread up but there's a flaw with the "Uncollapse Selected Folders" custom action in that, if any of the tracks in a collapsed folder happen to be previously hidden from the MCP (using the Track Manager), then those tracks are also 'uncollapsed' and made visible in the MCP :-(
That's the unfortunate side effect with these custom actions because MCP does not have specific collapse/uncollapse actions. What I had to do for the MCP is simply to hide/show the child tracks. So on my part that behavior is intentional and it doesn't indeed work if you have hidden tracks which you want to keep hidden.
xpander is offline   Reply With Quote
Old 01-23-2022, 09:20 AM   #10
Toko_MG
Human being with feelings
 
Join Date: Jan 2022
Posts: 495
Default

Hello to the wonderful Reaper community ! (This is my first message on this forum)

I just discovered by accident a very useful script allowing to link TCP & MCP folder collapsed state (mpl_Link TCP MCP folder collapsed state).

Added to a toolbar (or assigned to a shortcut) and combined with the script mpl_Toggle between normal and supercollapsed folder state (in toolbar or with shortcut), this toggle type command gives great results !
Toko_MG is online now   Reply With Quote
Old 01-25-2022, 08:32 AM   #11
Toko_MG
Human being with feelings
 
Join Date: Jan 2022
Posts: 495
Default

The script mentioned in my previous message eventually revealed not to work like expected...

The following custom action I created (and assigned to my main toolbar) works for me (it toggles selected MCP folders between closed and developped state) :

Code:
SWS: Save current tracks selection
SWS: Select children for selected folder track(s)
SWS: Set selected folder(s) collapsed
Mixer: Show/hide children of selected tracks
SWS: Restore saved track selection
Toko_MG is online now   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 08:57 AM.


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