Page 2 of 2

Re: How to setup Color filter for empty directory TREE (=only empty folders) ?

Posted: 29 Apr 2025 21:25
by phred
pstein wrote: 29 Apr 2025 16:36 Does that mean it is already implemented?
On February 14, 2024 Don said it would be in the next beta. Once Don adds something to a beta release, unless something is horribly wrong with it, it's implemented. And is available in all releases from that point on.

As far as not finding it in the current release notes, that's because it's not a current addition. It was added more than a year ago. You'd need to look at the release notes for the beta release on or after February 14, 2024.

Code: Select all

v25.50.0201 - 2024-02-14 21:10
    + SC property enhanced: Added #NoFiles argument to return whether a branch 
      (recursive) has files in it or not (any contained subfolders don't count).
      - #NoFiles: The return value 2 means "this is a branch without files".
                  The return value 6 means "this is a branch with files".
      For example, this Color Filter will show branches without files in a pink color in 
      Tree and List (the syntax here includes the colors and can be used in Tools | List 
      Management | Color Filters...):
        B:prop:#nofiles:2>FFFF00,FF6FB7
    * SC property: Added new return value "E" to #empty, #nofiles, and #nosubs:
        E = Any error except "Access Denied"
        X = Accessed Denied
      This handling ensures that we don't get an "empty" when there was actually an error 
      during the check.