How to setup Color filter for empty directory TREE (=only empty folders) ?
How to setup Color filter for empty directory TREE (=only empty folders) ?
As I learned I can setup color filters for certain criteria.
One of the default color filters is to colorize a folder when its is currently empty.
Unfortunately if this folders contains one or more (nested) empty subfolder(s) it is not seen as empty.
Is there a way to specify a filter: "is empty or contains only (nested) empty folders"?
Tobias
One of the default color filters is to colorize a folder when its is currently empty.
Unfortunately if this folders contains one or more (nested) empty subfolder(s) it is not seen as empty.
Is there a way to specify a filter: "is empty or contains only (nested) empty folders"?
Tobias
-
- Site Admin
- Posts: 63523
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
That's a useful idea!
Coming with the next beta.

FAQ | XY News RSS | XY Bluesky
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
This is very close to my issue, I wonder if I'm allowed to ask here
I can't make the color filter for empty folders ignore the desktop.ini and the .ico file inside the folder (they are hidden with a system attr)
I can't make the color filter for empty folders ignore the desktop.ini and the .ico file inside the folder (they are hidden with a system attr)
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
Code: Select all
B:prop:#contains.desktop.ini:1 AND B:prop:#contains.*.ico:1 AND B:prop:#itemcount:2;B:prop:#empty:2
One of my scripts helped you out? Please donate via Paypal
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
Thank you very much :3highend wrote: ↑23 Feb 2024 20:17?Code: Select all
B:prop:#contains.desktop.ini:1 AND B:prop:#contains.*.ico:1 AND B:prop:#itemcount:2;B:prop:#empty:2
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
The question from ewd24 is useful and the answer seems to work.
However the solution looks (too) complicated.
Why not introduce a new property "visiblyempty" which sees a folder as empty if it contain NO visible files at all?
would be much shorter, more understandable and covers all other hidden stuff.
However the solution looks (too) complicated.
Why not introduce a new property "visiblyempty" which sees a folder as empty if it contain NO visible files at all?
Code: Select all
B:prop:#visiblyempty:2
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
And if someone doesn't want to hide the belonging .ico file in the folder (because he wants to see them), that filter wouldn't work...
One of my scripts helped you out? Please donate via Paypal
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
@highend:
Well in this case the user can revert to the detailed criteria specification you showed before.
In all other cases (approx. 95%) the new property is shorter and will be more user friendly
Well in this case the user can revert to the detailed criteria specification you showed before.
In all other cases (approx. 95%) the new property is shorter and will be more user friendly
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
Is this implemented too in the next release?
-
- Site Admin
- Posts: 63523
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
What makes you think I would not keep my promises? And in this case, it was not a promise, it was an announcement. And what keeps you from just looking at the release notes or the help file?
FAQ | XY News RSS | XY Bluesky
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
This works only for folders which must contain one desktop.ini AND one .icohighend wrote: ↑23 Feb 2024 20:17?Code: Select all
B:prop:#contains.desktop.ini:1 AND B:prop:#contains.*.ico:1 AND B:prop:#itemcount:2;B:prop:#empty:2
Is there a way to extend this code so that folders are seen as empty if they contain really no file or eventually contain one *.ico and/or contain eventually a desktop.ini file or not?
Re: How to setup Color filter for empty directory TREE (=only empty folders) ?
I revisit now this thread. I am unsure about the meaning of your statement.
Does that mean it is already implemented?
I reviewed the latest release notes and searched help file about "nested empty folders" - No matching.
Maybe you can give me a little help as a stupid user. If the mentioned announcement has not yet been implemented: When did the implementation take place?