Re: Date Color Filters
Posted: 19 Nov 2010 10:55
Well, I had an inspiration... there will be AND!admin wrote:Boolean operators would make it more complex for me and for the users. I currently do not intend to go this way.
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Well, I had an inspiration... there will be AND!admin wrote:Boolean operators would make it more complex for me and for the users. I currently do not intend to go this way.
Code: Select all
+attr:junction>D500D5,
+attr:system>FF0000,FFFF80
+attr:encrypted>008000,
+attr:compressed>0000FF,
ageM: d //modified today>FFFFFF,74C622
attr:d>5E738C,
size:0>4199E0,E0E2ED
*.png;*.jpg;*.gif>933968,
*.exe;*.bat>D24257,
*.htm;*.html;*.mht;*.php>4287D2,
*.txt;*.ini>38A050,
*.zip;*.rar>CC6600,
*.dll;*.ocx>7800F0,
*.mp3>FF8000,And was disappointed it was Details mode only, but then realized that's not the case. However, this seems to be broken here (also on a fresh copy):Or am I mistaken in how this is to work?Code: Select all
v9.70.0038 - 2010-11-19 20:36 + Configuration | Color Filters: Now, in Details mode, the first matching filter *with* backcolor (if any) is displayed combined with the first matching filter *without* backcolor (if any). For example, if you have these filters defined and activated (copied from List Management to show the colors): ageM: < 3 h>FFFF00,6798E0 name: *.txt>38A050, then every TXT file that's younger than 3 hours is displayed with the Name column colored "FFFF00,6798E0" (Text, Background) and all the other columns colored "38A050" (Text only). Yeah!
Code: Select all
+ageM: < 1 h>,006000
+ageM: < 6 h>,207020
+ageM:<12 h>,408040
+ageM:<1 d>,60A060
+ageM:<2 d>,80C080
+ageM:<4 d>,A0E0A0
+ageM:<1 w>,C0FFC0Yes, I already had this rainbow idea myself. Maybe later...phatmankerr wrote:Have never really used any colour filters or XYs general colourful options - but I find the relative date filters EXTREMELY useful - I also like the clever little trick with the slightly extended shape (so even when the filename is highlighted the filter is still visible).
However (sure you were waiting for this Don) - the colour filters are not visible for tagged files (unless I only use the tag column - but then I tend to miss the tagged files) - accept there is not a lot you can do for full row tagging - but Name Column Tagging / filter visibility would be useful - any plans to work around this - maybe with banded colour application (slightly extending the colour application on the name column for each feature / filter)? (No rush - just an idea).
You would end up with a kind of rainbow effect at the end of the filename column (but provided there is a limit - say 3 bands I think this would be awesome).
Thanks
Andy
Yes, sort of, but only useful in details mode because you need the non-Name columns to see the text color of the other matching filter.TheQwerty wrote:Don, did I miss something or have you not implemented any variation of the "continue" switch, yet?...
Erm... so will there be a 'continue' or another way to use separate filters for background and foreground colors in non-Details views?admin wrote:Yes, sort of, but only useful in details mode because you need the non-Name columns to see the text color of the other matching filter.
Yes, needs a little meditation still...TheQwerty wrote:Erm... so will there be a 'continue' or another way to use separate filters for background and foreground colors in non-Details views?admin wrote:Yes, sort of, but only useful in details mode because you need the non-Name columns to see the text color of the other matching filter.
OK, I did the following: You use the comment part of the color filter line to pass a certain switch, namely "m" for "merge (text color)".admin wrote:Yes, needs a little meditation still...TheQwerty wrote:Erm... so will there be a 'continue' or another way to use separate filters for background and foreground colors in non-Details views?admin wrote:Yes, sort of, but only useful in details mode because you need the non-Name columns to see the text color of the other matching filter.
Code: Select all
color filter definition(s)//[switches]|free comment text"Code: Select all
+ageM: d //m|modified today>FFFFFF,6798E0
+name:*.txt>38A050,
See this has been implemented - much appreciated DonI'll see whether I can make colour filters visible for tagged files...
Code: Select all
attr:s//m|>,FFFF80Ah ha - knew I was forgetting something when I was trying this!admin wrote:The general syntax is (note the Pipe separator)
Code: Select all
+ageM:<5 n //m|>,006000
+ageM:<10 n //m|>,207020
+ageM:<15 n //m|>,407040
+ageM:<30 n //m|>,509050
+ageM:<45 n //m|>,50A050
+ageM:<2 h //m|>,70A070
+ageM:<6 h //m|>,70C070
+ageM:<8 h //m|>,90C090
+ageM:<1 d //m|>,A0C0A0
+ageM:<2 d //m|>,A0E0A0
+ageM:<5 d //m|>,C0E0C0
+ageM:<7 d //m|>,C0FFC0Yes, odd. That's the reason I kept it inofficial for now. The advantage is that it's very easy to parse that way without the need to introduce yet another special char for switches...TheQwerty wrote:Feels a bit odd extending the comment like that but otherwise it works.