Page 1 of 1

Filters - Back and Front color from different filter?

Posted: 16 Feb 2012 21:02
by chavlji
Hi,
I use color filters very much. I was especially glad when I've discovered the filter:

AgeC:<7d

I've set it to color the background into slight blue.

Then I have a bunch of extension-based filters. Like *.jpg;*.png files has purple font.

What bothers me is that even though I've set "Clear" color for fonts in filter "AgeC:<7d" the text color for *.jpg;*.png is set to default black. For files younger than 7 days... Why is that so?

Shouldn't it leave it purple if I've set it to "Clear" in the first filter?

Re: Filters - Back and Front color from different filter?

Posted: 16 Feb 2012 21:26
by eil
i'm not sure 2 filters can work together/cross-over. the one that is higher in list of filters will prevail.

Re: Filters - Back and Front color from different filter?

Posted: 16 Feb 2012 21:51
by chavlji
Yes, but if you set "Clear color" to the first filter it should seek forward and find the first matching filter that has this color defined...

Re: Filters - Back and Front color from different filter?

Posted: 16 Feb 2012 23:19
by eil
"Clear Colour" only means that whatever changes(setting) to corresponding colour were made, those will be discarded. filters can't "modify" each other, as i see it.

Re: Filters - Back and Front color from different filter?

Posted: 16 Feb 2012 23:33
by serendipity
@chavlji: it should work if you have it like you described. Because I use this exact same type of filters and i see correct background and text color from the assigned filters.
Check this:
Go to Tools>List management>Color filters and make sure your Age filter has no text color and .jpg filter has no background color.
In my case this works:
ageM:<12 h|>,9EE15B
Note how after > text color is empty followed by comma and then back color 9EE15B. If you have two colors after > in remove the first one.

And the opposite for *.jpg:
*.jpg;*.png>D26900,

Make sure after > there is only color for text and background is empty.

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 10:52
by chavlji
Here are the exact filters from my list. For test I've left only those two:

+AgeM:<7d >,E9F5FC
+*.png;*.jpg;*.gif;*.jpeg;*.tif;*.psd;*.tiff;*.bmp>970081,

And it still doesn't work. If jpg file is younger than 7 days it's text is black. Otherwise it is purple.

I use version 10.80.0300

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 13:58
by eil
@serendipity, i tried your settings and those don't work for me.. yet, i confirm chavlji's settings don't work either(just as he described). :|

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 16:37
by serendipity
chavlji wrote:Here are the exact filters from my list. For test I've left only those two:

+AgeM:<7d >,E9F5FC
+*.png;*.jpg;*.gif;*.jpeg;*.tif;*.psd;*.tiff;*.bmp>970081,

And it still doesn't work. If jpg file is younger than 7 days it's text is black. Otherwise it is purple.

I use version 10.80.0300
You have those values showing in editor mode right?
I mean when you go to Tools>List management>Color filters... and there is a little pencil icon on your bottom left. If you click it you'll see editor mode. So i guess you pasted this in editor mode:

Code: Select all

+ageM:<7d //m|>,9EE15B
+*.jpg;*.png;*.bmp;*.gif;*.wmf;*.tga;*.jpeg;*.ico;*.tiff;*.tif;*.emf>D26900,
And still you dont get colored background plus colored text for <7 day old .jpg?
I tried this on a fresh install and it works fine.

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 18:13
by chavlji
Thank you man!
It works now.

The comment string seems to do the magic?!

+ageM:<7d //m|>,9EE15B this one works.

+ageM:<7d >,9EE15B this one doesn't...

Where's the problem? I don't know. I've read all the help under "color filters" and it says nothing about it.

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 18:32
by serendipity
chavlji wrote:Thank you man!
It works now.

The comment string seems to do the magic?!

+ageM:<7d //m|>,9EE15B this one works.

+ageM:<7d >,9EE15B this one doesn't...

Where's the problem? I don't know. I've read all the help under "color filters" and it says nothing about it.
Yes the merge feature is not in the documentation, it was added on trial basis and I guess Don just left it as it is. Here's the relevant post:
http://www.xyplorer.com/xyfc/viewtopic. ... 974#p54974

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 19:03
by chavlji
That's a pity... it's a very cool and useful option.
In fact this is the behavior one would expect as default.

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 19:59
by eil
serendipity wrote:Yes the merge feature is not in the documentation, it was added on trial basis and I guess Don just left it as it is.
damn, one more undocumented ghost feature. :evil: i wonder how many more are there i'm not aware of..

Re: Filters - Back and Front color from different filter?

Posted: 17 Feb 2012 20:21
by serendipity
eil wrote:
serendipity wrote:Yes the merge feature is not in the documentation, it was added on trial basis and I guess Don just left it as it is.
damn, one more undocumented ghost feature. :evil: i wonder how many more are there i'm not aware of..
but you knew about this i thought:
http://www.xyplorer.com/xyfc/viewtopic. ... 887#p66887

Re: Filters - Back and Front color from different filter?

Posted: 18 Feb 2012 00:19
by eil
serendipity wrote:but you knew about this i thought
sadly i didn't. :cry: of course it's utterly my fault =i was too concentrated on just making my colour filters change by hours, that "didn't bother" to read all the discussion and info about m-switch(shame on me- i saw it numerous times, but took it as some must-be-syntax :oops: ).