Quick way to tag/highlight Mini Tree folders?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
QuadJesus
Posts: 4
Joined: 06 Jul 2021 11:32

Quick way to tag/highlight Mini Tree folders?

Post by QuadJesus »

Any way to conveniently tag/highlight/text color change items in mini tree?
Would be great if an option to carry over highlights, text colors, from catalog when selecting 'Make Mini Tree from Folders' :)

jupe
Posts: 3296
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Quick way to tag/highlight Mini Tree folders?

Post by jupe »

Do you mean you want to color all your minitree folders one color, or only some specific items? You need to explain what you want to do clearly.

Just as an example of what is possible, below is a quick example of setting the color from the catalog to the tree folders, but only once you click on the items, since I am unsure if that is anything like what you mean.


xy_cat.gif
xy_cat.gif (85.38 KiB) Viewed 901 times

QuadJesus
Posts: 4
Joined: 06 Jul 2021 11:32

Re: Quick way to tag/highlight Mini Tree folders?

Post by QuadJesus »

Hello, thanks for the reply. Sorry excuse my lack of detail describing the issue.

Ideally the color changes applied to folders in the category would also be applied when making a mini tree from folders.
e.g: folder 1, 2, 3 have red text in catalog view, folder 4,5,6 have blue background, when making mini tree from that catalog section no color changes are carried over. I would like for the folder colors background and or text that are applied in the catalog view to be retained in mini tree, not just when clicked.

If that's not possible perhaps an easy way to apply labels to individual folders in mini tree?
As of now I right click each folder in catalog, view and edit the text color or folder color background. I think I'm doing it wrong. For folders or items in list view I use the apply label option and select a color.

To change folder colors of folders in mini tree, I highlight the folder ctrl+alt+b, then go tools>List management>highlighted folders, and edit each folder manually e.g: C:\Program Files (x86)\>BA4422,000000

Once again I think I'm doing it all wrong.

Any help is much appreciated. Thanks :)

jupe
Posts: 3296
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Quick way to tag/highlight Mini Tree folders?

Post by jupe »

This is just a quick proof of concept that does something like what I think you want, if you add a new item in the same catalog category that is just a category full of folder locations, and add the below script to the location field (press edit button to the right of it to paste multiline), then when it is clicked it will color all the matching folders in the tree the same as they are in that current catalog category only (not whole catalog, I didn't think you would want that to begin with).

Code: Select all

  $rpt = catalogreport("", "{Location}|{RGB Text},{RGB Back}", 1);
  foreach($itm, $rpt, <crlf>, "e") {
    $fol = gettoken($itm,  1, "|");
    $col = gettoken($itm, -1, "|");
    if (exists($fol) == 2 && $col UnLike "{*") { highlight $col, $fol; }
  }
There are other ways to invoke it it you'd prefer, I am only suggesting to do it this way initially, to see if we are on the same page regards functionality, but anyway you should be able to modify it from here to suit your needs.

2022-03-08_082113.png
2022-03-08_082113.png (7.25 KiB) Viewed 880 times

Post Reply