VF on catalog items
Posted: 08 Sep 2006 15:26
Is is possible to add a switch to catalog items (folders) specifying their visual filter. That could be a real timesaver....
Cheers Ulrik
Cheers Ulrik
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
What will you do with all the saved time?ugus wrote:Is is possible to add a switch to catalog items (folders) specifying their visual filter. That could be a real timesaver....![]()
I don't know...maybe work less...admin wrote:What will you do with all the saved time?![]()
admin wrote:Desktop?*.zip -> name search
Desktop|*.zip -> visual filter
I don't think so....admin wrote: Have I forgotten anything?
Nope, don't think so. That is a pretty cool idea indeed!admin wrote:Yeah, my first idea is: let's add visual filters (VF) to the location syntax as well! Just like simple name searches. Currently VF and searches cannot be combined, that should be changed then maybe (jacky smiling).
If we take e.g. the pipe "|" as operator -- which I already introduced in clever foresight some days ago to separate locations from VF -- then you would have:
Desktop?*.zip -> name search
Desktop|*.zip -> visual filter
That's a very cool idea!!![]()
Have I forgotten anything?
Right.. it is confusing. But then maybe you could say one cannot combine "quick-searches" and VF from here (Ad. bar, Goto, Catalog, etc). So in your first example, it's a searche, in the 2nd one, a VF.admin wrote:First, as to the combination of both: "|" can be part of a Boolean search term, and "?" can be part of a VF, so no matter in what sequence I attach the suffixes there will be unsolvable ambiguities:
Desktop?:*.zip & *.rar|*.zip -> ???
Desktop|*.zip?*.zip -> ???
(Okay, it's " | " (spaces) in the Boolean syntax, but anyway... it's confusing)
I don't really see this as a big deal. I mean, yes we set up a VF from here, so as its a VF it'll stay on the next change of location, but that how it's supposed to do: it is a VF!admin wrote:Second, VF is a property of tabs (and hence show in the tab headers) rather than of locations, which is quite a difference to "Desktop?*.zip", which will disappear to nirvana on the next change of location. So, it does not really make sense to have it as part of a "location term" (or whatever we call these things we can enter to the GoTo or Address Bar in XY).
If it did, that's be awesome!admin wrote:Third, VFs are kept in an MRU list. So, if I'd do "Desktop|*.zip" would that be added to that list, and will it set the "last used VF" (Ctrl+Shift+J)?
I do too. And I really don't think not being able to set a VF this way when doing a name search is such a big deal...admin wrote:Hm. I really like "Desktop|*.zip", also because it is (or would be) the only way to set a new location and a new VF at the same time.
Ok, but if we can switch on VF via a suffix, we need the possibility to switch it off by suffix as well. That's easy and quite nice, too:jacky wrote:I do too. And I really don't think not being able to set a VF this way when doing a name search is such a big deal...admin wrote:Hm. I really like "Desktop|*.zip", also because it is (or would be) the only way to set a new location and a new VF at the same time.
Yeah sure! Or one could use * as VF to get it all anywaysadmin wrote:Ok, but if we can switch on VF via a suffix, we need the possibility to switch it off by suffix as well. That's easy and quite nice, too:
"Desktop|" -> Show Desktop unfiltered (switch off any VF)!
Bravo!!!+++ Now you can set a Visual Filter directly through the Address Bar,
the Catalog, the Favorites etc. This means you can set a new path
and a new filter at the same time! For example:
Desktop|*.jpg;*.png = browse to Desktop and show only *.jpg
and *.png files
The crucial operator here is the "|"-char (pipe). These are the
general syntax options (Path can be slashed or not):
Path|a* = set filter "a*" to Path
Path| = remove any filters from Path
|a* = set filter "a*" to current Path
| = remove any filters from current Path
The filter will be added to the top of the Visual Filter MRU (most
recently used) list, so it will be available for toggling on/off
(Ctrl+Shift+J).
I don't think there's an automatic way no, you have to create the Catalog item manually, and input as Destination what you typed on the Address bar.allen wrote:Edit: Ok, is there anyway to bookmark results filtered by way of the address bar? I can't seem to do it via favorite files or folders -- am I missing a list item or is this feature a wish?
Yeah, I just discovered the ability to manually edit catalog entries . . . at which point I realized I should try keying a filter onto a favorite entry via the favorites list editor. Naturally, it works perfectly. I can access favorites directly from the favorites menu which makes it more desirable for me than the catalog anyway.jacky wrote:Excellent, very well done indeed, Don! :D
I don't think there's an automatic way no, you have to create the Catalog item manually, and input as Destination what you typed on the Address bar.allen wrote:Edit: Ok, is there anyway to bookmark results filtered by way of the address bar? I can't seem to do it via favorite files or folders -- am I missing a list item or is this feature a wish?
I think this should work: C:\Windows\System32\??ts?d*.dllJustinF wrote:I had a search string like this C:\Windows\System32\?ts?d*.dll, how do I go about setting up a visual filter in the Catalog like that? Basically, the problem is the question mark (?). I'd like to be able to use a filter that can look for a single character (?) instead of any number of characters (*).