Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 05-10-2017, 10:34 AM   #1
Smoy
Human being with feelings
 
Smoy's Avatar
 
Join Date: May 2017
Location: Paris, FR
Posts: 17
Default Add a "hidden" compact state for folder tracks

The idea is the following: Please make it possible for us to hide the childs of a folder track via the compact button on the track. I went in a lot of solutions with macros etc... it works if you have only level 1 folders, but it becomes clusmy when you have folders / sub folders / sub sub folders etc... I have a +600 project template and this would make my life SOOO much easier

Thanks a lot!

Last edited by Smoy; 05-10-2017 at 03:05 PM. Reason: typo
Smoy is offline   Reply With Quote
Old 05-10-2017, 12:10 PM   #2
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

you can tweak the theme to do that in the super compact mode for the folder. http://forum.cockos.com/showthread.php?t=127389
does it help?
heda is offline   Reply With Quote
Old 05-10-2017, 02:57 PM   #3
Smoy
Human being with feelings
 
Smoy's Avatar
 
Join Date: May 2017
Location: Paris, FR
Posts: 17
Default

Thanks for your answer!
Yes, I already did this trick, the problem is that even if the track have a 0px height, you can still select and edit them, which can lead to crazy situations
This is why I'm still looking to a more solid way of doing this, and I guess this should not be a huge pain to integrate that in the core of Reaper features. I might be wrong.
Smoy is offline   Reply With Quote
Old 05-11-2017, 06:23 AM   #4
Smoy
Human being with feelings
 
Smoy's Avatar
 
Join Date: May 2017
Location: Paris, FR
Posts: 17
Default

Yes it kinda works as long as you have one layer of folders. As soon as you add subfolders to the structure, if you unfold the master folder, it will unfold all the child folders, and all the sub child folders etc...
I just really think reapers needs this "a la cubase" folder feature, except that it will be WAY MORE powerfull than the cubase folders because these folders are also bus / tracks etc...
This would be a real killer feature imo.
Smoy is offline   Reply With Quote
Old 05-11-2017, 08:21 AM   #5
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

You can still use the macro, just use reaconsole and specific naming of all child tracks, say put CT in their names.
Use reaconsole to select all tracks with CT in them, and hide
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 05-11-2017, 09:52 AM   #6
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

Ok, I gave it a shot because I have been thinking about this functionality before.

The accompanying script can be to force two-state folder collapsing.

--UPDATE VERSION 3
- Hide children: allow you to temporarily change track's visibility manually
- Two state: bug fix

-- UPDATE VERSION 2
- bug fixes in both scripts
- user config inside - set what state you want to look for

Last edited by bFooz; 05-30-2017 at 02:24 AM.
bFooz is offline   Reply With Quote
Old 05-11-2017, 10:10 AM   #7
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

What I think you may be interested in - I also have in preparation folder items.

bFooz is offline   Reply With Quote
Old 05-13-2017, 05:09 AM   #8
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Quote:
Originally Posted by bFooz View Post
Ok, I gave it a shot because I have been thinking about this functionality before. See the attachement.
Thanks bFooz! Really useful again (I was using the rtconfig 0 option)
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-19-2017, 04:14 PM   #9
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Small bug while testing : very hard to insert or remove automation on a track (keeps flashing)

https://drive.google.com/file/d/0ByE...ew?usp=sharing
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-20-2017, 01:35 AM   #10
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

Quote:
Originally Posted by Robert Johnson III View Post
Small bug while testing : very hard to insert or remove automation on a track (keeps flashing)
Can you post your project? I cannot reproduce this. Thanks.
bFooz is offline   Reply With Quote
Old 05-20-2017, 02:31 AM   #11
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Quote:
Originally Posted by bFooz View Post
Can you post your project? I cannot reproduce this. Thanks.
Sure: https://drive.google.com/file/d/0ByE...ew?usp=sharing (file)

Start “Script: bfo - Hide children in collapsed folders (running).lua” then: https://drive.google.com/file/d/0ByE...ew?usp=sharing
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-20-2017, 11:11 AM   #12
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

Quote:
Originally Posted by Robert Johnson III View Post
Small bug while testing : very hard to insert or remove automation on a track (keeps flashing)

https://drive.google.com/file/d/0ByE...ew?usp=sharing
Fixed. See the original post. http://forum.cockos.com/showpost.php...15&postcount=8
bFooz is offline   Reply With Quote
Old 05-20-2017, 11:19 AM   #13
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Working! Great job! (made a small donation)
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-30-2017, 12:50 AM   #14
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

I'm afraid the script interferes with the cycle editor... This does not work anymore when the script is running. https://drive.google.com/file/d/0ByE...ew?usp=sharing
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-30-2017, 01:37 AM   #15
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

Does it keep tracks always visible, even when you hide it manually? I'll have a look at it.

Scenario: You have all tracks visible. Then you hide Child-1 in Folder manually (or by cycle action) leaving Child-2 in Folder visible. Then you collapse Folder, meaning all tracks will be hidden by the script. Then you expand Folder back. What tracks should be visible?
bFooz is offline   Reply With Quote
Old 05-30-2017, 02:26 AM   #16
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

Quote:
Originally Posted by Robert Johnson III View Post
I'm afraid the script interferes with the cycle editor... This does not work anymore when the script is running. https://drive.google.com/file/d/0ByE...ew?usp=sharing
This should be fixed in V3, see the original post:

http://forum.cockos.com/showpost.php...15&postcount=8
bFooz is offline   Reply With Quote
Old 05-31-2017, 12:57 AM   #17
Ulf3000
Human being with feelings
 
Join Date: May 2016
Posts: 369
Default

can we please leave scripting out of this ?

the feature must be native and fast (with a little "+/-" button and it needs to remember the state of all sub tracks and folders just like a explorer folder tree .. it should be a native function and is the only logical conclusion
Ulf3000 is offline   Reply With Quote
Old 05-31-2017, 04:05 AM   #18
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Quote:
Originally Posted by bFooz View Post
This should be fixed in V3, see the original post:

http://forum.cockos.com/showpost.php...15&postcount=8
Did not had time yet to work out the scenario, but the script is working flawless now! Thanks again bFooz!
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-31-2017, 04:06 AM   #19
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Quote:
Originally Posted by Ulf3000 View Post
can we please leave scripting out of this ?

the feature must be native and fast (with a little "+/-" button and it needs to remember the state of all sub tracks and folders just like a explorer folder tree .. it should be a native function and is the only logical conclusion
REAPER is REAPER because of scripting? A big part of it would not even be functional without third party add-ons and scripting…. Yes, it should be native, but so should a lot of other things. In the meantime I’m grateful for the time and effort put in to scripting. If it works, I’m a happy camper.
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 09-27-2019, 04:39 PM   #20
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by bFooz View Post
Ok, I gave it a shot because I have been thinking about this functionality before.

The accompanying script can be to force two-state folder collapsing.

--UPDATE VERSION 3
- Hide children: allow you to temporarily change track's visibility manually
- Two state: bug fix

-- UPDATE VERSION 2
- bug fixes in both scripts
- user config inside - set what state you want to look for

ty so much!
Reflected is offline   Reply With Quote
Old 09-29-2019, 05:53 AM   #21
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by bFooz View Post
Ok, I gave it a shot because I have been thinking about this functionality before.

The accompanying script can be to force two-state folder collapsing.

--UPDATE VERSION 3
- Hide children: allow you to temporarily change track's visibility manually
- Two state: bug fix

-- UPDATE VERSION 2
- bug fixes in both scripts
- user config inside - set what state you want to look for


after restarting reaper it get back to 3 states

is it possible to make it permanent 2 states (at least for a saved project)?
Reflected is offline   Reply With Quote
Old 09-29-2019, 06:02 AM   #22
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

You can use SWS Global startup action. Create a custom action, put all actions you want to start at program startup into it and then assign this custom action as SWS Global startup action.

There is also a separate project startup action which runs at each new project start. It is unsuitable for this task.
bFooz is offline   Reply With Quote
Old 09-29-2019, 11:45 PM   #23
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

awesome!
thanks
Reflected is offline   Reply With Quote
Old 05-26-2021, 12:02 PM   #24
Pink Wool
Human being with feelings
 
Pink Wool's Avatar
 
Join Date: Apr 2020
Posts: 1,520
Default

Quote:
Originally Posted by bFooz View Post
Ok, I gave it a shot because I have been thinking about this functionality before.

The accompanying script can be to force two-state folder collapsing.

--UPDATE VERSION 3
- Hide children: allow you to temporarily change track's visibility manually
- Two state: bug fix

-- UPDATE VERSION 2
- bug fixes in both scripts
- user config inside - set what state you want to look for
Hey, this was posted a long time ago but someone asked about it and I tried it out but I get:

...s\bfo - Hide children in collapsed folders (running).lua:44: bad argument #1 to 'GetMediaTrackInfo_Value' (MediaTrack expected)

?
Pink Wool is offline   Reply With Quote
Old 05-27-2021, 02:37 AM   #25
12345678
Human being with feelings
 
Join Date: Mar 2019
Posts: 63
Default

should be a native function +1
12345678 is offline   Reply With Quote
Old 07-10-2021, 03:05 PM   #26
ReclaimerNo
Human being with feelings
 
Join Date: Mar 2021
Posts: 7
Default Proper Folder Support

I too came to the forums looking for proper folder support in REAPER. I couldn't find it, so I went off and made the feature myself. It seems to work well. Nesting is supported, the folder compact mode button gets converted to an expand/collapse button, and (by default) folder tracks automatically get colourized to look like folders. No need to insert 0-height edits into theme files. Just run the "Turn automatic folders on or off" script at the start of every REAPER session, or use your preferred method of making that script automatically run at startup.


I documented it all here and am now sharing it with the community. Hope it helps you as much as it has me.
www.reafolders.com
ReclaimerNo 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 08:19 AM.


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