Ability to search for files and content at same time

Discussion related to "Everything" 1.5 Alpha.
Post Reply
nappyjim
Posts: 8
Joined: Mon Oct 14, 2024 6:18 pm

Ability to search for files and content at same time

Post by nappyjim »

Is it possible to search for files and content at same time?

For example, right now I am looking in my folders for information related to the term cobot.

So I search

Code: Select all

cobot
and it shows me all the files/folders with cobot in their name.

Then I search

Code: Select all

content:"cobot
and it shows me all the files with cobot in their content.


Can I do a super search and have it list both the files/folders and files with content at same time?
horst.epp
Posts: 1446
Joined: Fri Apr 04, 2014 3:24 pm

Re: Ability to search for files and content at same time

Post by horst.epp »

In Everything 1.5 make a filter which combines both.
Mine is named FioC
If this filter is active, all searches are made by name and content.
The search term is as follows
#replaceterms:#(:search:#):,#(:<#term:|content:#term:>#):

Looks like this then
Screenshot - 16.10.2024 , 14_59_26.png
Screenshot - 16.10.2024 , 14_59_26.png (18.72 KiB) Viewed 910 times
______________________________________________________
Windows 11 Home x64 Version 23H2 (OS Build 22631.4249)
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1
nappyjim
Posts: 8
Joined: Mon Oct 14, 2024 6:18 pm

Re: Ability to search for files and content at same time

Post by nappyjim »

Hmmm, I tried that but when I search and select that filter, my results are blank. If I choose the 'Everything' filter, it shows results.

image.png
image.png (69.92 KiB) Viewed 461 times
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Ability to search for files and content at same time

Post by tuska »

2nappyjim

In the ‘Macro’ field, insert e.g. this text:

Code: Select all

fc<search>
Example of a search:

Code: Select all

fc:mysearch
horst.epp
Posts: 1446
Joined: Fri Apr 04, 2014 3:24 pm

Re: Ability to search for files and content at same time

Post by horst.epp »

2nappyjim
You didn't make what I have shown you.
As tuska said, you left out the macro code
which is clearly shown in my screenshot.
nappyjim
Posts: 8
Joined: Mon Oct 14, 2024 6:18 pm

Re: Ability to search for files and content at same time

Post by nappyjim »

Sorry I though that fc was some hotkey or something. I added it in and its working as expected. Thanks
Post Reply