Page 3 of 3
Re: Date Color Filters
Posted: 14 Dec 2011 13:43
by TheQwerty
Does this work as you desire?
Code: Select all
+ageC:<=6 h //m|>,FF0000
+ageC:<=24 h //m|>,00FF00
+ageC:<=48 h // m|>,000FF
In List Management Editor format
Re: Date Color Filters
Posted: 14 Dec 2011 17:30
by eil
TheQwerty wrote:Does this work as you desire?
Code: Select all
+ageC:<=6 h //m|>,FF0000
+ageC:<=24 h //m|>,00FF00
+ageC:<=48 h // m|>,000FF
In List Management Editor format
seems yes. i've forgotten about order and "top in list" priority.
one more question: how to specify a certain time period(not in dates)?
example: there is some filter coloring files created in last 6 hour, there is another for 6-12 hours, and i need another one that colors only those to be created 10-11 hours ago.
as i understand, your example works as "if filters above have nothing to do with files, filter below colors them" = if there was no filter for 6 hours above, filter for 24 would colorize all those created within last 24h.
Re: Date Color Filters
Posted: 14 Dec 2011 18:15
by TheQwerty
eil wrote:example: there is some filter coloring files created in last 6 hour, there is another for 6-12 hours, and i need another one that colors only those to be created 10-11 hours ago.
as i understand, your example works as "if filters above have nothing to do with files, filter below colors them" = if there was no filter for 6 hours above, filter for 24 would colorize all those created within last 24h.
I'm not sure I understand completely, but if I do I think you have two options:
Duplicate entries:
Code: Select all
+ageC:<=6 h //m|>,FF0000
+ageC:<10 h //m|>,0000FF
+ageC:<=11 h //m|>,00FF00
+ageC:<=12 h //m|>,0000FF
Use logic:
Code: Select all
+ageC:<=6 h //m|>,FF0000
+ageC:>=10 h AND ageC:<=11 h //m|>,00FF00
+ageC:<=12 h // m|>,000FF
In List Management Editor format
Re: Date Color Filters
Posted: 15 Dec 2011 12:34
by eil
2nd is more comfortable. thanks.

Re: Date Color Filters
Posted: 20 Jun 2012 15:44
by admin
admin wrote:Tip (undocumented feature) (copied from List Management to show the colors):
m in the comment part is the merge switch. This example will set a light yellow background color to all items with SYSTEM attribute, and use the text color of the next matching color filter that has only a text color defined. (This is what TheQwerty wished as "continue".)
Ha, finally (1.5 years later) added this to the Help.
