NOT option in Visual Filter
-
Gandolf
NOT option in Visual Filter
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.
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
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...
That's how I understand Gandolf's wish...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: NOT option in Visual Filter
Yeah, never asked for but already somewhere on my list. So I did it right now. Nice function!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.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
This is pretty cool indeed! 
I found this a bit "weird" though:
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
but could be used to have like *something*;!*.txt if you want al items with "something" in their name, but no text files.... 
I found this a bit "weird" though:
Code: Select all
!a*;b* -> hide all items starting with "a" or "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
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66249
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
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...jacky wrote:This is pretty cool indeed!
I found this a bit "weird" though:I would have though that to do that, one would have to use !a*;!b*Code: Select all
!a*;b* -> hide all items starting with "a" or "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 herebut could be used to have like *something*;!*.txt if you want al items with "something" in their name, but no text files....
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
hehe.. ok.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...No, let's keep this one simple: "!" inverts (inverses?) the filter results, finish. It just turns "show" into "hide".
/me removes the adding Boolean mode into VF suggestion from its list!
Proud XYplorer Fanatic
XYplorer Beta Club