Indicate "isFavorite"

Features wanted...
Post Reply
MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Indicate "isFavorite"

Post by MBaas »

Wouldn't it be nice if Favorites (files and folders) were easily recognizeable when looking at the listing of a folder? :)

I think so! Perhaps there could be a special color combination for favorite items in lists or maybe their names could be prefixed with a certain (unicode) symbol like "★" etc. Or maybe the names could use certain typography....
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

phred
Posts: 639
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Win10 at 100% from Boston USA

Re: Indicate "isFavorite"

Post by phred »

I don't know about files, but all my favorite folders are displayed in bold when appearing in the list tree. Are you not seeing that?

EDIT: I meant to say favorite entries are bold in the TREE, not the list.
Last edited by phred on 13 May 2024 15:22, edited 1 time in total.

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: Indicate "isFavorite"

Post by MBaas »

Interesting - I don't see that.

I did search settings for "Fav" - but nothing came up that would have this effect - so I wonder why I'm not seeing that...
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

phred
Posts: 639
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Win10 at 100% from Boston USA

Re: Indicate "isFavorite"

Post by phred »

I apologize. Favorite entries are bold in the TREE, not the list.
2024-05-13_09-16-54.jpg
You do not have the required permissions to view the files attached to this post.

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: Indicate "isFavorite"

Post by MBaas »

Ah, ok - that explains it. I don't use the tree (I try to avoid using the mouse).
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Indicate "isFavorite"

Post by Horst »

I also don't see my favorite folders bold in the tree :?
I have already set "Mark Favorites (bold)" under Tools / Customize Tree
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

admin
Site Admin
Posts: 66093
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Indicate "isFavorite"

Post by admin »

Not planned. Nuff colors in the list. :)

eil
Posts: 1864
Joined: 13 Jan 2011 19:44

Re: Indicate "isFavorite"

Post by eil »

@MBaas the easiest solution for you would be to either make colour filter or additional colour-tag, and manually mark all Favourites with that. You can even make a scripted button to do same marking in future, right before adding to Favourites.
Win 7 SP1 x64 100% 1366x768|1900x1080

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: Indicate "isFavorite"

Post by MBaas »

That's a neat idea, thanks! Will experiment... :)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

kiwichick
Posts: 673
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Indicate "isFavorite"

Post by kiwichick »

eil wrote: 13 May 2024 18:16 make colour filter
That's a really good idea. What pattern would be used for the filter?
Windows 10 Pro 22H2

eil
Posts: 1864
Joined: 13 Jan 2011 19:44

Re: Indicate "isFavorite"

Post by eil »

kiwichick wrote: 20 May 2024 05:03 That's a really good idea. What pattern would be used for the filter?
Depending what user needs, the criteria can be say file/folder has tags, or some common part in names/paths, etc.
Win 7 SP1 x64 100% 1366x768|1900x1080

kiwichick
Posts: 673
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Indicate "isFavorite"

Post by kiwichick »

eil wrote: 20 May 2024 22:06 Depending what user needs, the criteria can be say file/folder has tags, or some common part in names/paths, etc.
Thanks, I was hoping there would be some way to refer to Favourites specifically which would be much easier.
Windows 10 Pro 22H2

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: Indicate "isFavorite"

Post by MBaas »

There is a better way! (at least IMHO)

You'll need a label "Favorite" and then you can do this:

Code: Select all

    // get all items with Favorite tag
    $lst = quicksearch("label:Favorite", "*",<crlf>);

    // remove all Favorite labels
    tag("Favorite",$lst,0,2);
    
    $favs = favs("d","",<crlf>);
    $favs = favs("f","",<crlf>);

    foreach($f,$favs,<crlf>) {
    if (($f==" ")||($f=="-")){continue;}
        $f = regexreplace($f,'"[^"]*"\s*',"");
        // tag zuweisen
        tag("Favorite",$f,0,0);  
    }
Needs to be run whenever you change favs. (WIBNI we had a CEA for that?)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

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

Re: Indicate "isFavorite"

Post by highend »

@MBaas

Did you (eventually) mean:

Code: Select all

    $favs = favs() . <crlf> . favs("f");
    
    foreach($f,$favs,<crlf>,"e") {
?

Otherwise you'll only process the file favorites...
One of my scripts helped you out? Please donate via Paypal

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: Indicate "isFavorite"

Post by MBaas »

duh...you're right (ofc). Thanks!
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Post Reply