Page 1 of 1
colorfilter() - Flag to ignore # wildcard
Posted: 01 Aug 2018 23:20
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:
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...
Re: colorfilter() - Flag to ignore # wildcard
Posted: 21 Aug 2018 12:34
by admin
In the next version it will just work. No flag necessary.
Re: colorfilter() - Flag to ignore # wildcard
Posted: 22 Aug 2018 06:17
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?
Re: colorfilter() - Flag to ignore # wildcard
Posted: 22 Aug 2018 10:40
by admin
Oh sure, that was not meant to happen. Yes, I will limit it to name/dir.
Re: colorfilter() - Flag to ignore # wildcard
Posted: 22 Aug 2018 10:41
by highend
Does that require that "name:" is actually used? This would also break existing scripts...
Re: colorfilter() - Flag to ignore # wildcard
Posted: 22 Aug 2018 11:02
by admin
highend wrote:Does that require that "name:" is actually used? This would also break existing scripts...
No, also implied "name" will work.
Re: colorfilter() - Flag to ignore # wildcard
Posted: 23 Aug 2018 15:43
by highend
Looks fine in 0207 (even with prop:#...), thanks!