Auto Close Branches of Trees

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
conradcjc
Posts: 18
Joined: 03 Feb 2016 20:15

Auto Close Branches of Trees

Post by conradcjc »

I would like to know when you select a drive or a directory on the TREE listing can you have it auto close all other branches that are open. I tried that auto optimize tree but that really doesn't work the way I thought it would.

Thanks
Chuck

highend
Posts: 14994
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Auto Close Branches of Trees

Post by highend »

I tried that auto optimize tree but that really doesn't work the way I thought it would.
Why not? Actually it does what you're asking for...
One of my scripts helped you out? Please donate via Paypal

conradcjc
Posts: 18
Joined: 03 Feb 2016 20:15

Re: Auto Close Branches of Trees

Post by conradcjc »

highend wrote:
I tried that auto optimize tree but that really doesn't work the way I thought it would.
Why not? Actually it does what you're asking for...
It acts someone strange to me. If I click on a folder rather than the drive letter it will no auto close only if I click on drive letter first.

Make sense?

highend
Posts: 14994
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Auto Close Branches of Trees

Post by highend »

This is actually working for me (e.g. I expand two drives and if I click on a folder in the second drive, the first drive's tree collapses and the other way round).

When I try this with a ::fresh; version it doesn't work the same way... Maybe I've applied a tweak but I'm too tired to look that up atm...
One of my scripts helped you out? Please donate via Paypal

conradcjc
Posts: 18
Joined: 03 Feb 2016 20:15

Re: Auto Close Branches of Trees

Post by conradcjc »

highend wrote:This is actually working for me (e.g. I expand two drives and if I click on a folder in the second drive, the first drive's tree collapses and the other way round).

When I try this with a ::fresh; version it doesn't work the same way... Maybe I've applied a tweak but I'm too tired to look that up atm...

Thanks for the response. I will still fool around with it.

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Auto Close Branches of Trees

Post by klownboy »

Could the tweak be AutoOptimizeTreeRadical=1 :?:
There's both a AutoOptimizeTree=1 and AutoOptimizeTreeRadical=1

; Tweak: set to 1 to optimize the tree on each location change
AutoOptimizeTreeRadical=1
+ Tweak to activate a hardcore version of "Auto-Optimize Tree":
[Settings]
AutoOptimizeTreeRadical=1
Set to 1 to optimize the tree on each location change.

conradcjc
Posts: 18
Joined: 03 Feb 2016 20:15

Re: Auto Close Branches of Trees

Post by conradcjc »

klownboy wrote:Could the tweak be AutoOptimizeTreeRadical=1 :?:
There's both a AutoOptimizeTree=1 and AutoOptimizeTreeRadical=1

; Tweak: set to 1 to optimize the tree on each location change
AutoOptimizeTreeRadical=1
+ Tweak to activate a hardcore version of "Auto-Optimize Tree":
[Settings]
AutoOptimizeTreeRadical=1
Set to 1 to optimize the tree on each location change.

That worked well... Thank you

Post Reply