Page 1 of 1
Visual filter question
Posted: 07 Dec 2011 11:08
by Ysl
Hi
I would like to make a visual filter to see only audio files created in the last seven days...is this possible and if yes, how ?
Thanks for your help
Ysl
Re: Visual filter question
Posted: 07 Dec 2011 11:24
by nas8e9
At first glance, Visual Filters can only select based on aspects of the filename, but not on file date.
The Find Files-tab of the Info Panel however, can specify Audio files as type (the definition of which is configurable through Configuration > Previewed Formats) and also has a Date-subtab. You can even save the search as a Template through the button on the right of the tab for future reuse.
Re: Visual filter question
Posted: 07 Dec 2011 11:32
by Ysl
Thanks for your reply
I knew that but would like to have a quicker way to do it
Ysl
Re: Visual filter question
Posted: 07 Dec 2011 11:52
by nas8e9
Ysl wrote:I knew that but would like to have a quicker way to do it
I'm not a scripter, but you could use the loadsearch-command to load and execute a search. The loadsearch-section in the Scripting Commands-help topic has more information.
Edited.
Re: Visual filter question
Posted: 07 Dec 2011 13:02
by TheQwerty
If you wanted to just highlight them in the list you could achieve this with Color Filters... (if not quit reading this

)
Code: Select all
+ageC: <= 1 w AND *.mp3>FFFF00,FF0000
This would give all MP3s created in the last week yellow text on a red background.
There is also an undocumented feature of Color Filters that tells XY to merge the background color from one filter with the font color of another. This would allow you to give all items created in the last week a background of red, all audio files a text color of yellow, and then when both cases are true you end up with the yellow on red.
Code: Select all
+ageC:<= 1 w //m|>,FF0000
+*.mp3>FFFF00,
Rather than explain it again take a look at this post:
http://www.xyplorer.com/xyfc/viewtopic. ... 851#p56851
Re: Visual filter question
Posted: 07 Dec 2011 15:52
by Ysl
Thanks for your help but I already use the color filter also...
For to complicated reason to explain, I really would like a simple way to show all mp3 created in the last week (or a few days) in a window...and nothing else (thus only mp3)
But if there is no way, i can live with it !
Thanks again
Ysl
Re: Visual filter question
Posted: 08 Dec 2011 02:17
by nas8e9
Ysl wrote:Thanks for your help but I already use the color filter also...
For to complicated reason to explain, I really would like a simple way to show all mp3 created in the last week (or a few days) in a window...and nothing else (thus only mp3)
loadsearch isn't that difficult. It requires the following steps:
1. perform the search you want and if correct, save it to a template. Please note that I've set the location to Auto sync; also, if you want to include subfolders in the search, that option needs to be enabled before saving the search as a template;
2. add a user button to the toolbar;
3. set the On click-field to the following:
This will immediately execute the search as defined in the Template, in the current tab for the current folder.
Re: Visual filter question
Posted: 09 Dec 2011 22:22
by Ysl
Thanks !
This is the closer to what I look for !
The only problem is it does not auto refresh
Ysl