SearchEverything: Getting Opus to work with Everything

Hi apocalypse, I hope you'll see my question :slight_smile:
What I'm doing wrong ? I am just able to make SearchEverything 2.2.0.0 works (with es.exe).
v3.0.0 and 4.0.0.0 never worked... I have put everything.dll (v3.0), everything32 and 64.dll (v4.0) to my Everything Program Files, and installed the button.
SearchEverything.exe appears in the task bar but never close, and no result appears.

Can you help me, please ?

Check out the SearchEverythingCLI project I linked in the above post and follow the instructions in the readme part. That's my cleanest approach to this so far.
If it still doesn't work - then something might be blocking your interprocess IPC communication (could be an overzealous anti-virus product among other things).

I've only tested it with the latest everything beta 1.4.0.713b running in service mode and haven't had any issues since.

ok it works now, I just had to remove the @admin at the start of the button... Thanks for your help apocalypse :slight_smile:

Glad you found what was causing it. I will remove the @admin switch from the example as well.

Issue:

I'm having an issue I can't seem to resolve. Once I create the button and try to search, nothing happens. What am I missing? Any help is much appreciated.

My environment:

  • Windows 10 (64bit)
  • Directory Opus (v12.2 64bit)
  • Everything (v1.3.4.686 64bit) - installation location - C:\Program Files\Everything\Everything.exe
  • SearchEverything (v.4.0.0.0) - installation location - C:\Program Files\Everything\SearchEverything.exe

Here is the code I'm using when creating my button.

<?xml version="1.0"?> <button display="both" label_pos="right" separate="yes" type="three_button"> <label>Everything</label> <icon1>#default:find</icon1> <button display="both" icon_size="large" label_pos="right"> <label>Everything (Dialog)</label> <tip>Search Everything for Specified Keyword(s)</tip> <icon1>#default:find</icon1> <function type="normal"> <instruction>C:\Program Files\Everything\SearchEverything.exe &quot;{dlgstring}&quot;</instruction> </function> </button> <button display="both" icon_size="large" label_pos="right"> <label>Everything (Clipboard)</label> <tip>Search Everything for Current Clipboard Text</tip> <icon1>#default:find</icon1> <function type="normal"> <instruction>C:\Program Files\Everything\SearchEverything.exe &quot;{clip}&quot;</instruction> </function> </button> <button backcol="none" display="both" icon_size="large" label_pos="right" textcol="none"> <label>Everything (Program)</label> <tip>Starts / Brings Everything to Front</tip> <icon1>#find</icon1> <function type="normal"> <instruction>cd C:\Program Files\Everything</instruction> <instruction>C:\Program Files\Everything\SearchEverything.exe</instruction> </function> </button> </button>

Make sure Everything is installed as a service and running (Options > General > Everything Service). If it's not running as a service you might need admin privileges for searcheverything.

If all else fails try the CLI version I posted a few posts above.
github.com/devocalypse/SearchEverythingCoreCLI

You might want to get the latest Everything beta too as it includes a lot of improvements and some new features.

So after struggling to get this to work (various attempts resulted in different failed operation) On my windows 10 system, DO v12.3 x64 I was not getting the returned results to list in a file collection. Experimented with all combinations of administrator configs [i.e. elevate on, the one, other or both "Everything" and "Search Everything".

To get it it working, I have to run "Search Everything" as admin. Doesn't matter if I run "Everything" admin or not (I now have it off admin). Attempting the DO Everything search requests UAC elevation, then successfully runs.

If I disable Admin rights on the SE program, and instead turn on the UAC elevate mode in DO it also works (without the UAC prompt when clicking on the button) and can be run for whatever period I allow the UAC prompt.

Kevin L

Hello! When i search with SE i can't use hotkeys in DO after that. Any ideas?

I don't really see how those things are connected.

Updated the github release binaries.

1.1.0.0
Introduced REGEX search capability.
Just enclose your search in slashes like:

Normal search: anystring
Regex search: /anystring/

1 Like

Installed the files from the RAR, paths are ok. I search I see the little icon in the taskbar but nothing happens. The results are not shown anywhere. At first call I received a werfault.

Use the new files from the post above yours. Searches are faster and tray icon should no longer appear.
Make sure to change the button code to point to SearchEverythingCoreCLI.exe

Works perfectly! Thanks.

I added the source code and click the button to do a search. It looks like it is searching but the Everything icon in the tray shows up and when I hover my mouse on it the icon disappears (program closes).

That usually means the program has crashed, or sometimes that it exited without removing its icon from the tray. The program is no longer running but the tray doesn't check or notice this until you move the mouse over it.

Yep, sounds right. What should I do to fix this?

  1. Get this:
  1. Make sure your version of everything is at least somewhat recent and has "Run as Service" checked in preferences.

  2. Searching should not create popups anymore and you'll get your results in a lister after searching.

1 Like

above is how it goes for me.

Change path in script to SearchEverythingCLI.exe

That name didn't work. What did work was "SearchEverythingCoreCLI"

Thanks for your help! Works now! :slight_smile: