visual filter
visual filter
It's not filtering properly,note that in the screen shot,i downloaded the file on 3/5/2018 and the filter applied is for 5 hours.
Last edited by novaj on 08 May 2018 12:11, edited 1 time in total.
Re: visual filter
Show a screenshot of Menu - Tools - List Management - Power Filters...
One of my scripts helped you out? Please donate via Paypal
Re: visual filter
And now take a close look at your 5 hours line again. What is different comparing it to the 3 hours line?
One of my scripts helped you out? Please donate via Paypal
Re: visual filter
You didn't look hard enough, remove the double quote at the end, and you could put a space before the 5.
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: visual filter
The typical double-quote-blindness of non-programmers...
FAQ | XY News RSS | XY Twitter
Re: visual filter
Since this topic seems it has been resolved and is on the subject of Visual Filters I will hijack it and ask a question that relates to the subject,
can anyone think why this works for me as address bar input:
but the inverse:
does not ? Both are standard Power Filters and they do both work in a fresh instance though, so something in my normal ini file makes it so only the first one does, luckily I have got around it by changing the default "Files Only" Power Filter to this instead:
but I am still curious why one works and the other doesn't, anyone have any ideas on a setting that I may have switched to cause that effect?
Not sure if this is related but I also downloaded a Click & Search sample catalog from https://www.xyplorer.com/download/CAS_ByDate.zip and the "Made on a Workday" entry doesn't work either (even in fresh), it's entry is "!dw 6-7" changing it to "dw 1-5" works though instead, is that just because of changes in XY since the catalog was made or is it just me that it doesn't work for?
can anyone think why this works for me as address bar input:
Code: Select all
|attr:d
Code: Select all
|!attr:d
Code: Select all
|!\|*
Not sure if this is related but I also downloaded a Click & Search sample catalog from https://www.xyplorer.com/download/CAS_ByDate.zip and the "Made on a Workday" entry doesn't work either (even in fresh), it's entry is "!dw 6-7" changing it to "dw 1-5" works though instead, is that just because of changes in XY since the catalog was made or is it just me that it doesn't work for?
Re: visual filter
Doh! Stupid me , I solved the first part of the mystery, it was this:
Configuration | Find and Filter | Filters & Type Ahead Find | Visual Filters | Apply to files only
Configuration | Find and Filter | Filters & Type Ahead Find | Visual Filters | Apply to files only
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: visual filter
This is search, not Visual Filter. The pattern "dateM:!dw 6-7" (or also "!dateM:dw 6-7") should work as expected if you tick this:jupe wrote:Not sure if this is related but I also downloaded a Click & Search sample catalog from https://www.xyplorer.com/download/CAS_ByDate.zip and the "Made on a Workday" entry doesn't work either (even in fresh), it's entry is "!dw 6-7" changing it to "dw 1-5" works though instead, is that just because of changes in XY since the catalog was made or is it just me that it doesn't work for?
Configuration | Find and Filter | Find Files & Branch View | Find Files | Enable extended pattern matching
To achieve the same with a Visual Filter, you would use this ("dateM:!dw 6-7" does not work here, not sure why ATM):
Code: Select all
!dateM:dw 6-7
FAQ | XY News RSS | XY Twitter
Re: visual filter
Yeah I realize it is a search not a VF, but initially I thought XY wasn't accepting the ! properly so that made me think they might be related, but now that I just figured out what was stopping the VF functioning as mentioned above I can see they aren't related, extended pattern matching did indeed solve mystery two, thanks.
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: visual filter
In the meantime I looked into this asymmetry:admin wrote:To achieve the same with a Visual Filter, you would use this ("dateM:!dw 6-7" does not work here, not sure why ATM):Code: Select all
!dateM:dw 6-7
Code: Select all
!dateM:dw 6-7 dateM:!dw 6-7
----------------------------------
Search: OK OK
Visual Filter: OK NOT OK
Fixing it *might* break old code though. But I think it's quite unlikely:
Code: Select all
Before the fix:
!n* matches NOT "n.txt"
name:!n* matches "!n.txt" <-- this will change after the fix
After the fix:
!n* matches NOT "n.txt"
name:!n* matches NOT "n.txt"
FAQ | XY News RSS | XY Twitter
Re: visual filter
I thought something wasn't quite right...
If you think it should be fixed that is good enough for me, I don't want to agree one way or the other in case someone comes here to complain about the change, so I think I will abstain an opinion, but will be happy whatever your decide.
If you think it should be fixed that is good enough for me, I don't want to agree one way or the other in case someone comes here to complain about the change, so I think I will abstain an opinion, but will be happy whatever your decide.