I tried to define instant color filters for file sizes and I defined these two:
"Greater then 5 MB" size: >5 MB > D87093,
and
"Greater then 10 MB" size: >10 MB >800080 ,
But the color for these two is allways the same and don't match what I choose.
What is wrong here?
Custom Instant color filters
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Instant color filters
The order is wrong. Filters are matched from top to bottom. This order will work:
"Greater then 10 MB" size: >10 MB >800080 ,
"Greater then 5 MB" size: >5 MB > D87093,
"Greater then 10 MB" size: >10 MB >800080 ,
"Greater then 5 MB" size: >5 MB > D87093,
FAQ | XY News RSS | XY X
-
jcmn
- Posts: 179
- Joined: 18 Sep 2007 11:34
- Location: portugal
Re: Custom Instant color filters
Changing the order doesn't solve the problem.
I have those two filters in the end after the default filters in the Instant Color filters list.
I have those two filters in the end after the default filters in the Instant Color filters list.
-
nerdweed
- Posts: 648
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: Custom Instant color filters
Only one instant color filter is active at a time.jcmn wrote:Changing the order doesn't solve the problem.
I have those two filters in the end after the default filters in the Instant Color filters list.
"Modified Recently" ageM:<15 n >FFFF00,004500||ageM:<30 n >FFFF00,006700||ageM:<1 h >FFFF00,007900||ageM:<3 h >FFFF00,008800||ageM:<6 h >FFFF80,009900||ageM:<12 h>FFFF80,00A800||ageM:<1 d >FFFF80,00BB00||ageM:<2 d >,4AFF4A||ageM:<5 d >,77FF77||ageM:<7 d >,93FF93
Try this
"Size" Size: >10 MB >800080, || size: >5 MB > D87093,
But the above wouldn't work (bug?) until you give both values like
"Size" Size: >10 MB >800080,111111 || size: >5 MB > D87093,222222
-
jcmn
- Posts: 179
- Joined: 18 Sep 2007 11:34
- Location: portugal
Re: Custom Instant color filters
You're right.
A second color code is necessary.
Why are necessary two codes?
A second color code is necessary.
Why are necessary two codes?
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Instant color filters
Whoops, my reply was nonsense. Of course, nerdweed is right: only one at a time.
But I tested your filter and they work!
"Greater then 5 MB" size: >5 MB >D87093,
"Greater then 10 MB" size: >10 MB >800080,
(Well, you had a space before a comma... you should not do that...
)
But I tested your filter and they work!
"Greater then 5 MB" size: >5 MB >D87093,
"Greater then 10 MB" size: >10 MB >800080,
(Well, you had a space before a comma... you should not do that...
FAQ | XY News RSS | XY X
-
jcmn
- Posts: 179
- Joined: 18 Sep 2007 11:34
- Location: portugal
Re: Custom Instant color filters
And you can't have a space after the last ">", and the second color code represents the background color that you didn't mention.
-
Nighted
- Posts: 463
- Joined: 21 Jan 2007 01:58
- Location: Gitmo Nation North, Win 7/10/Linux/(x64)
Re: Custom Instant color filters
"Greater than"...
...sorry, it was buggin me!
...sorry, it was buggin me!
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.
-
nerdweed
- Posts: 648
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: Custom Instant color filters
Yes it did work earlier, but didn't set the best colors that could shout out load (more because set a text color and was looking for back color)admin wrote:Whoops, my reply was nonsense. Of course, nerdweed is right: only one at a time.
But I tested your filter and they work!![]()
"Greater then 5 MB" size: >5 MB >D87093,
"Greater then 10 MB" size: >10 MB >800080,
(Well, you had a space before a comma... you should not do that...)
BTW, I had removed the comma and it was auto inserted
XYplorer Beta Club