Very important folders
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Very important folders
I have some very important folders which are highlighted. I would like to show them constantly in my minitree. Putting them after minimizing the tree would be my solution. Is there a way to fill highlighted folders to minitree automatically? By script maybe? I checked the help file, but I didn't find any way to get the list of highlighted (or favorite and so on) folders as a pipe list.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Very important folders
Not automatically, but the loadtree command allows you to add any (number of) folders to the Mini Tree by a single click.
FAQ | XY News RSS | XY X
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Very important folders
Sorry to hear. So when I highlighted a folder, I should modify my script manually.
Wouldn't "minimize tree" function be improved instead? For example it wouldn't delete highlighted folder. But it is a wish... I try to persuade you because minitree, coloring (highlighted folders, boxed branches) is real strengthness of XYplorer, I can look through my tree in a moment due to these visual aids. I attach a proof.
Wouldn't "minimize tree" function be improved instead? For example it wouldn't delete highlighted folder. But it is a wish... I try to persuade you because minitree, coloring (highlighted folders, boxed branches) is real strengthness of XYplorer, I can look through my tree in a moment due to these visual aids. I attach a proof.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Very important folders
I just remembered that you can get a list of highlighted folders by using get() with "list_hilitefolder". A scripter will be able to make you a script (which you can put in a user button) that will minimize your tree and then add all highlighted folders. 
FAQ | XY News RSS | XY X
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Very important folders
admin wrote:you can get a list of highlighted folders by using get() with "list_hilitefolder"
That was the missing link, thank you!
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Very important folders
I noticed that the colors are returned as well, which makes it a bit tricky. Next version you can do it with a one-liner:

Code: Select all
::loadtree getinfo("list_hilitefolder", "|", "f");FAQ | XY News RSS | XY X
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Very important folders
Big thanks! Reallyadmin wrote:Next version you can do it with a one-liner
XYplorer Beta Club