Page 1 of 1

NOT option in Visual Filter

Posted: 14 Aug 2006 08:45
by Gandolf
I can't remember if this has been requested before but I couldn't see it in a search of the Forum. I frequently want to see all files that are not of a particular type. Since I don't necessarily know what the other file types might be it is not possible to select a filter to show only them, so what I require is a filter to not show certain files. Rather like the Invert function in the Find Files.

Posted: 14 Aug 2006 09:13
by j_c_hallgren
I also could see this coming in handy in some cases when one doesn't want to exclude from display all other file types, but wish to spotlight a particular type by it being "normal"...

That's how I understand Gandolf's wish...

Re: NOT option in Visual Filter

Posted: 14 Aug 2006 09:22
by admin
Gandolf wrote:I can't remember if this has been requested before but I couldn't see it in a search of the Forum. I frequently want to see all files that are not of a particular type. Since I don't necessarily know what the other file types might be it is not possible to select a filter to show only them, so what I require is a filter to not show certain files. Rather like the Invert function in the Find Files.
Yeah, never asked for but already somewhere on my list. So I did it right now. Nice function! :)

Posted: 14 Aug 2006 11:00
by Gandolf
What speed of response!!

Posted: 14 Aug 2006 17:24
by jacky
This is pretty cool indeed! :D

I found this a bit "weird" though:

Code: Select all

!a*;b*  -> hide all items starting with "a" or "b". 
I would have though that to do that, one would have to use !a*;!b*
and that !a*;b* would mean hide items starting starting with "a", and show ones starting with "b"

No obviously this is kinda stupid here :P but could be used to have like *something*;!*.txt if you want al items with "something" in their name, but no text files.... :idea:

Posted: 14 Aug 2006 17:29
by admin
jacky wrote:This is pretty cool indeed! :D

I found this a bit "weird" though:

Code: Select all

!a*;b*  -> hide all items starting with "a" or "b". 
I would have though that to do that, one would have to use !a*;!b*
and that !a*;b* would mean hide items starting starting with "a", and show ones starting with "b"

No obviously this is kinda stupid here :P but could be used to have like *something*;!*.txt if you want al items with "something" in their name, but no text files.... :idea:
Yes, I wanted to do it like this at first. But 5 minutes later you would have asked for AND and OR operators and parentheses... :wink: No, let's keep this one simple: "!" inverts (inverses?) the filter results, finish. It just turns "show" into "hide".

Posted: 14 Aug 2006 17:46
by jacky
admin wrote:Yes, I wanted to do it like this at first. But 5 minutes later you would have asked for AND and OR operators and parentheses... :wink: No, let's keep this one simple: "!" inverts (inverses?) the filter results, finish. It just turns "show" into "hide".
hehe.. ok.

/me removes the adding Boolean mode into VF suggestion from its list! :P ;)