Page 1 of 1
Indicate "isFavorite"
Posted: 13 May 2024 14:16
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....
Re: Indicate "isFavorite"
Posted: 13 May 2024 14:56
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.
Re: Indicate "isFavorite"
Posted: 13 May 2024 15:04
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...
Re: Indicate "isFavorite"
Posted: 13 May 2024 15:19
by phred
I apologize. Favorite entries are bold in the TREE, not the list.
2024-05-13_09-16-54.jpg
Re: Indicate "isFavorite"
Posted: 13 May 2024 15:31
by MBaas
Ah, ok - that explains it. I don't use the tree (I try to avoid using the mouse).
Re: Indicate "isFavorite"
Posted: 13 May 2024 15:36
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
Re: Indicate "isFavorite"
Posted: 13 May 2024 15:38
by admin
Not planned. Nuff colors in the list.

Re: Indicate "isFavorite"
Posted: 13 May 2024 18:16
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.
Re: Indicate "isFavorite"
Posted: 13 May 2024 18:41
by MBaas
That's a neat idea, thanks! Will experiment...

Re: Indicate "isFavorite"
Posted: 20 May 2024 05:03
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?
Re: Indicate "isFavorite"
Posted: 20 May 2024 22:06
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.
Re: Indicate "isFavorite"
Posted: 21 May 2024 03:16
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.
Re: Indicate "isFavorite"
Posted: 21 May 2024 08:20
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?)
Re: Indicate "isFavorite"
Posted: 22 May 2024 09:20
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...
Re: Indicate "isFavorite"
Posted: 22 May 2024 15:27
by MBaas
duh...you're right (ofc). Thanks!