Indicator for "isFavoriteFolder"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Indicator for "isFavoriteFolder"

Post by MBaas »

When entering a Favorite folder in one of the panes, it would be nice if XY would give some indication that this is a favorite. I guess one could script a solution, but after thinking about possible ways this "indicator" could work (color change of list, address bar or breadcrumbs or by adding some text or icon etc.) I actually prefer the idea of adding a ✔-overlay to the FavoriteFolder-icon (and possible make the icons color a bit lighter color, too).

But before adding it to the wishlist, I thought I'll check whether I'm missing something and if you guys have other ideas or perhaps already did something about it?
______________________________________________
Happy user ;-)

highend
Posts: 13273
Joined: 06 Feb 2011 00:33

Re: Indicator for "isFavoriteFolder"

Post by highend »

Custom Event Actions is the right place to add a script for this kind of behavior.

E.g. for changing locations - after painting the file list

Code: Select all

    $esc = regexreplace(<newpath>, "([\\.+(){\[^$])", "\$1");
    if (regexmatches(favs("d"), "^" . $esc . "\\$")) {
        // do whatever you want...
    }
One of my scripts helped you out? Please donate via Paypal

Post Reply