Page 1 of 1

Recursive Color Filters

Posted: 29 Apr 2020 01:12
by DeeLight
Would it be possible to add Recursive Color Filters?

For example, with icons, I can use /r and all sub-folders get the icon recursively... would it be possible for color filters as well?

Currently, for icons I have:

Code: Select all

*[[]*unsorted*[]]\ /r>Folders\Colored\33 Light Gray.ico
*[[]*sorted*[]]\ /r>Folders\Colored\14 Green.ico
Would love to be able to do the same with Color Filters
xyplorer_recursive.png

Re: Recursive Color Filters

Posted: 26 Aug 2020 02:16
by DeeLight
I was doing some searching, and found this Color Filters by Tags feature added in 15.80:

If something similar could be added for icons (Color Filters by Icons), it would kind of solve my request...

I could just have a color filter like this:

Code: Select all

icon:Folders\Colored\14 Green.ico>FFFFFF,00AA00
Pretty sure a better solution exists, but this one seems easy to implement...

Re: Recursive Color Filters

Posted: 24 Sep 2020 10:51
by admin
Sorry, I don't understand the use of it. :|

Re: Recursive Color Filters

Posted: 04 Oct 2020 19:50
by DeeLight
For the same reason someone might want icons recursively...

So, for example, instead of:

Code: Select all

dir:*[ Sorted ]>FFFFFF,00AA00
dir:*[ Unsorted ]>FFFFFF,808080
Something like:

Code: Select all

dir /r:*[ Sorted ]>FFFFFF,00AA00
dir /r:*[ Unsorted ]>FFFFFF,808080
Would produce something like:
xyplorer_recursive_request.png

Re: Recursive Color Filters

Posted: 05 Oct 2020 11:27
by admin
Ok, I think consistency demands to do it. :)

Re: Recursive Color Filters

Posted: 07 Oct 2020 12:48
by admin
Well, the description in the first release notes was wrong (corrected today). It should work the way you described it above:

Code: Select all

dir /r:*[ Sorted ]>FFFFFF,00AA00
dir /r:*[ Unsorted ]>FFFFFF,808080
Does it?

Re: Recursive Color Filters

Posted: 10 Oct 2020 20:42
by DeeLight
Seems to work perfectly! TYVM!

Re: Recursive Color Filters

Posted: 07 Oct 2022 05:45
by DeeLight
Reviving this old post to request a minor addition to the recursive feature.

Could if be possible to set a limit of how deep it goes?

Using the old example:

Code: Select all

dir /r=2:*[ Sorted ]>FFFFFF,00AA00
dir /r=2:*[ Unsorted ]>FFFFFF,808080
Would keep the color filters 2 levels deep in the folder structure. If it's doable, same idea for icons:

Code: Select all

*[[]*unsorted*[]]\ /r=2>Folders\Colored\33 Light Gray.ico
*[[]*sorted*[]]\ /r=2>Folders\Colored\14 Green.ico
I use the recursive feature for both color filter and icons a lot, but sometimes (often), it's useless after a few levels of recursiveness.

Re: Recursive Color Filters

Posted: 07 Nov 2022 09:32
by admin
Well, maybe later.

Re: Recursive Color Filters

Posted: 26 Mar 2024 05:24
by DeeLight
Is it later yet? :ninja:

Re: Recursive Color Filters

Posted: 31 Mar 2024 10:00
by admin
Not late enough. And not enough demand. Priorities, you know.

Re: Recursive Color Filters

Posted: 02 Apr 2024 05:02
by DeeLight
Fair enough...

For a moment, I thought I found a way to do it using
filter:
example:

filter:D:\Path\To\Folder\*;D:\Path\To\Folder\*\*
but it seems like using
\*\
doesn't mean one folder, but anything in the path...

So... maybe a feature that would be more useful to a lot more people would be
regfilter:
(and
regfilternot:
)?

Using these paths as example:
D:\Path\To\Folder\
D:\Path\To\Folder\Subfolder_One\
D:\Path\To\Folder\Subfolder_One\Subfolder_Two\
D:\Path\To\Folder\Subfolder_One\Subfolder_Two\Subfolder_Three\


regfilter:D:\\Path\\To\\Folder\\(.*?\\){0,1}
would only match
D:\Path\To\Folder\
and
D:\Path\To\Folder\Subfolder_One\


Maybe too complex of a feature, but thanks for the consideration :)