Search for files with different names in find-as-you-type

I use the find-as-you-type function in Dopus a lot.
I was wondering if there is a way to search for multiple files with different names.

Example:
I have the following files in a folder
ABC.txt
CDF.txt
DFC.txt
DAC.txt

I want to search for CDF.txt and DAC.txt at the same time

Type :(CDF|DAC).txt to select the matching files.
The colon prefix triggers the select process.
This is covered under Find-as-you-type Field in the help file.

Regards, AB

You can also do something similar using the filter bar.

Push * to begin filtering, then type in (CDF|DAC).txt or a similar wildcard and it will show you just the files matching it, which would be CDF.txt and DAC.txt in your example. If the files are spread out, this can make it easier to see them all at once, since everything else will be hidden.

(The Find As You Type field should not be active when you push *. Type * directly into the file display to open the special filter bar.)

Thanks a bunch and thanks for a quick response.

I actually didn't you could do that with filtering. This will make things much more effective :smiley: Happy customer as always!

While we are at it, is there something that allows me to find/filter files which contain "foo" and "bar"?

In the file names? (foo|bar) in the Filter Bar would do it, or (foo|bar) if partial matching is off.

For file content, you'd probably need to use Find/Advanced.

Isn't that OR again?

When entering "foo" and "bar" with whatever syntax into the filter/find field, I like to get:
foobar.txt
barfoo.txt

but not:
foolme.txt
bargain.txt

In that case you would need to use: (foobar|barfoo)

In places that allow regular expressions, you could do it without having to enumerate all the permutations (which isn't too bad with two words, but gets ridiculous with three or more) by using regex asserts: (?=.foo.)(?=.bar.) But that's no use with FAYT or the filter bar since regex don't work there, and you probably don't want to be typing all that by hand anyway.

Ok, so that "AND" mode cannot be done without getting ridiculous on the keyboard, as you call it.
Thank you. I needed to ask since I wasn't so sure anymore about it.

So I'd love to see a google type search field (or a checkbox/qualifier or something when pressing enter).
A query like "+foo +bar -txt" could burn down the lister to all items containing "foo" and "bar" and not "txt".

You get the idea, I almost never enter patterns in the filter bar, unless it's "*.txt" or something like that.

[quote="tbone"]So I'd love to see a google type search field (or a checkbox/qualifier or something when pressing enter).
A query like "+foo +bar -txt" could burn down the lister to all items containing "foo" and "bar" and not "txt".[/quote]

Try the Windows Search field (or FAYT mode) if you want that kind of syntax. It seems to work.

I just tried it in FAYT and it didn't work. Can you be more specific on how we can search for two different words using the example you quoted from tbone?

Thanks for your suggestions. Agree with DesertDwarf, FAYT does not support multiple search terms, does it?. Windows search accepts multiple search terms, but then it fails in every other respect.

Filter bar is perfect, integrates best (supports flatview and pre-filtered listers by filetype and size - I use it). It's good that it eats the simple pattern style syntax, but the other quick approach, filtering by multiple easy keywords (as nearly every other search does), would be even more straigthforward to use and cover that missing AND mode excellently.

The Windows Search field is at the top right of the default toolbars, if you are using them.

Or you can trigger a Windows Search query in the FAYT field by typing = first (by default; it can be changed under Preferences). It will say "Search:" if you are in the right mode.

Whoa. Cool, but it initiated a search of the current folders and all folders below (like a Windows Search would). I was in a many-folders area of our network and that took a while. It's a cool feature.

But it'd sure be neat to be able to have more Boolean control over the regular FAYT.

Also tried the "=" way of initiating the windows search. Works, but is not very convenient for multiple words, since you cannot edit them. And you always have to close the newly opened "Search results" tab and restart. That tab is also blank for some time until the results arrive, for items directly in the folder I want to search in, this does not get anywhere near the greatness of how the filter bar works! Please, please make it "AND" capable! o)

You can edit the search query and it will re-do the search. What you type can be edited and you do not need to close or go back from the search results.

You are back to the search field now I guess? I was refering to the "=" windows search FAYT method you came up with.

I think the windows search is out of the game. To limit the search to the current view/folder you need to add 'folder:"<current dir>"' to your query. It's slow. Requires you to handle filedisplay, result-tab, search field focus etc. You cannot go back to normal by just hitting escape etc..

I really appreciate your efforts talking me into an alternative. o) Some of your suggestions may work for some situations, but the filterbar is unbeaten for its simple yet powerful approach. It's there, remembers the last input, well integrated into flatview and whatelse and does a really good job - despite the AND issue.

FAYT's "=" mode and the search field do the same thing.

I was purely addressing comments I quoted.