colorfilter() - Flag to ignore # wildcard

Features wanted...
Post Reply
highend
Posts: 13313
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

colorfilter() - Flag to ignore # wildcard

Post by highend »

E.g.:

Code: Select all

colorfilter([filters], [separator=||], [flags])
flags

 1: Ignore # wildcard.
Why that?
The problem is immediately visible if you have a file (or a file inside a path that contains the #) like:

Code: Select all

R:\#abc.txt
And you want to apply a colorfilter via:

Code: Select all

colorfilter("R:\#abc.txt>000000,FF9900");
The colorfilter will not be set on this file because the # is interpreted as a 0-9...
One of my scripts helped you out? Please donate via Paypal

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

Re: colorfilter() - Flag to ignore # wildcard

Post by admin »

In the next version it will just work. No flag necessary.

jupe
Posts: 2791
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: colorfilter() - Flag to ignore # wildcard

Post by jupe »

This change has caused a lot of my colorfilters not to work, specifically ones that use prop:# and also other ones that I have like L:Rating:# etc, I can re-write a lot of my filters to incorporate the change if I have to, but the prop:# ones still don't work since this change anyway.

e.g. this default ICF no longer works:

"Image Aspect Ratio 16:9" prop:#AspectRatio: 16:9>5A4F36,F7E686

What do you think about making this change work only when used with the name: or dir: prefixes?

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

Re: colorfilter() - Flag to ignore # wildcard

Post by admin »

Oh sure, that was not meant to happen. Yes, I will limit it to name/dir.

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

Re: colorfilter() - Flag to ignore # wildcard

Post by highend »

Does that require that "name:" is actually used? This would also break existing scripts...
One of my scripts helped you out? Please donate via Paypal

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

Re: colorfilter() - Flag to ignore # wildcard

Post by admin »

highend wrote:Does that require that "name:" is actually used? This would also break existing scripts...
No, also implied "name" will work.

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

Re: colorfilter() - Flag to ignore # wildcard

Post by highend »

Looks fine in 0207 (even with prop:#...), thanks!
One of my scripts helped you out? Please donate via Paypal

Post Reply