SearchEverything: Getting Opus to work with Everything

You probably need to show your version of the button for people to say where the changes went wrong, since the original button seems to work for people.

Okay Leo,

The below is what I used

<?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>@admin</instruction> <instruction>F:\Downloads\Everything-1.3.3.658b.x64\Everything.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>@admin</instruction> <instruction>F:\Downloads\Everything-1.3.3.658b.x64\Everything.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 F:\Downloads\Everything-1.3.3.658b.x64</instruction> <instruction>F:\Downloads\Everything-1.3.3.658b.x64\Everything.exe</instruction> </function> </button> </button>

--

This error is from everything itself, not from SE.
Your button points to Everything.exe which is incorrect.
It has to point to SearchEverything.exe.

Sorry, was a bit confused, understand that both Everything and SearchEverything should be used.
Dumped both into the same folder and adjusted the path.

It work fine now.

Thanks!

=

Leo: thanks for the tip (about submitting the xml code)

I have to admit... I'm confused. I have Win 8.1 and Opus 10 and tried to follow the instructions on Page 1. I installed Everything 1.3.3.658b.x64 to "C:\Program Files\Everything" then copied the 2 files from SearchEverything.v3.0.0 to that same directory. I apparently don't need the ES file nor the Toolbar Button. I used a Command Prompt to execute "searcheverything --install" and received a successfully registered confirmation. But other than the standard "Search Everything..." within the right click menu which opens the directory inside Everything, nothing I do, including Win+R, opens the results in Opus.

--install is only related to Protocol Handler Functionality. Read about it in the first post.
It does not appear as a menu item or anything.
Win+R -> everything://keywords

Even though I successfully executed "searcheverything --install", this is what happens...

Win+R opens the Run dialog box.
I type "everything://" followed by a keyword and press Enter.
The UAC prompt comes up, I click on yes, but nothing happens.

Seems like "searcheverything --install" isn't working even though it tells me it was successful?

The fact that you get the UAC prompt means it was successful. If you do not get results after that in the dopus lister, then there is another problem and I'll look into it when I have time over the weekend.

I got it all installed, and searching for keyword ends with an SE alert saying: 28 results exported to dopus as
But the filecollection coll://Everything/ remains empty.

Any suggestions?

Everything Search is extremely fast and flexible. It allows you to incrementally search on multiple text strings (e.g. N: opus pdf - for searching N-drive where 'opus' and 'pdf' shows up in the filename).
I hesitate to say, I donot want to offend our friends at GPSoft, but honestly saying, 9 out of 10 I use Everything Search by just running the (portable) Everything.exe. I donot use the button to run it from within Opus as it is way too limited.

Actually my wish is that the current Opus Find would be based on the same method (at least maybe the 'Simple' one), including filtering methods, advanced search, etc.

As for Everything Search, I am not sure there will be an update.
The latest version is the beta of june 2013.
The developer does not reply to mails and he is not active anymore on the forum.

There are not many alternatives around: UltraSearch to be much slower, MasterSeeker is connecting to websites in the background.

=

Hello! Sorry, but Search Everything 3.0 doesn't work in DOpus 11.1! it gives wrong results in russian. can you make something?

I have been using SearchEverything with Dopus v11 from a button with no problems. The button code I use is..

@admin /homeroot\Utilities\Everything\SearchEverything.exe "{dlgstringS|Please enter a search string..|{clip}}" Go NEWTAB=findexisting PATH=coll://Everything
Today I added the exact same command to the Lister Context menu. It works, but not quite the same as from a toolbar button. The differences are somehow associated with UAC but I can't see why UAC should (be able to) distinguish between SearchEverything fired from a button or from a context menu. Anyhow, this is what I am seeing on a Windows 7 (64 bit) system.

[ol][li]When fired from a toolbar button there is no UAC prompt.[/li][li]When fired from the lister context menu there is a UAC prompt, but if I fire it again quickly there is no UAC prompt the second time. If I continue with the rapid fire, every alternate execution triggers UAC. If I slow things down and leave a few seconds between executions, the UAC pops up every time so it would appear to be time dependent.[/li][/ol]
Having a SearchEverything command on the lister context menu is mighty handy and I can live with the UAC prompts. I just wanted to report the difference and I'd be interested to know if there is an explanation for why it should be so.

Regards (and thanks to Apocalypse for a very useful tool), AB

As said, my -personal- wish is that Opus has a similar thing built in, or at least has an option to activate indexing.
Note that this wonderful tool has been beta since june last year and there is no word from the developer every since.
btw, also see forums.mozillazine.org/viewtopic ... &t=2475071
(just discovered, not yet tested)

Works great for me. But is there a way to open search results in a new tab instead of a new lister?

can not work . my everything's version is 1.2.1.375b ,dopus is 10+, xp 32 bit. I am sure the code I pasted is correct. When I left click the button, popup the searching box,

whatever I type in and enter, it shows up a window : title is "searcheverything.exe Apllication Error", conten is :" Application Initialization failure( 0xc0000135 )". Please Click " Yes " to terminate the application " .

I hadn't used SE for a while but when I tried my long standing SE button today it no longer works, by which I mean that no output collection is generated. This is with SearchEverything.v3.0.0 and Everything-1.3.4.686.x86 and Opus 11.8.2.

Regards, AB

Nice work - would you please make the source code available.
Adam

Here is a button I wrote that works with the HTTP interface of VoidTools Everything. No stuffing around with DLL's

It's not pretty but it works for now. If you have time, updates / modifications would be appreciated.

Now .. to consider DTSearch

@script jscript

function OnClick(ClickData){

	var vi_maxreturn =500;
	var vo_dlg = EV_Dialog(vi_maxreturn.toString());
	DOpus.Output("Input:" + vo_dlg.input);
	var jsontext = '{"firstname":"Jesper","surname":"Aaberg","phone":["555-0100","555-0120"]}';
	var vs_searchurl = "http://localhost/?search=" + vo_dlg.input + "&path=0" + "&regex=1&path_column=2&json=1&count=" + vi_maxreturn.toString();
	DOpus.Output("Search:" + vs_searchurl);
	var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
	xmlhttp.open("GET",vs_searchurl, false,"admin","asdf");
	xmlhttp.send();
	var jsontext = xmlhttp.responseText;
	var vo_returned = eval("(" +jsontext +")"); //JSON.parse(jsontext)
	var vi_total= vo_returned .totalResults;
	var results = vo_returned.results;
	var vi_total_1 = vo_returned.results.length;

	var vs_run;

	vs_run = 'Delete "coll://Everything"';  //Careful. do not change this owtherwise coudl delete files
	DOpus.Output("Run:" + vs_run);
	ClickData.func.command.RunCommand(vs_run);
	
	vs_run = 'CreateFolder "coll://Everything"';
	DOpus.Output("Run:" + vs_run);
	ClickData.func.command.RunCommand(vs_run);
	
	var vo_factory = DOpus.Create;
	var vo_command = vo_factory.Command;
	vo_command.SetSource("coll://Everything");
	//vo_command.AddFile("C:\\temp\\1.txt");
	//vo_command.RunCommand('Copy To="coll://Everything" COPYTOCOLL=member');
	
	
	DOpus.Output("Files:" + vi_total_1);
	var vs_1;
	for (i = 0; i < vi_total_1; i++) { 
	//	if (vo_returned.results[i].type==='file'){
	    if (1===1){
			vs_1 = vo_returned.results[i].path + "\\" + vo_returned.results[i].name;
			vs_2 = vs_1.replace(/\\/gi,"\\\\");
			DOpus.Output(vs_2);
			vo_command.AddFile(vs_2);
		}
	}
	vo_command.RunCommand('Copy To="coll://Everything" COPYTOCOLL=member');
	
}


function EV_Dialog(vs_message){
	// Create a Dialog object.
	var dlg = DOpus.Dlg;
	dlg.window = DOpus.Listers(0);
	dlg.message = "Enter Regular Expression.  Max Returned-" + vs_message;
	dlg.title = "Enter";
	dlg.buttons = "OK|Cancel";
	dlg.max = 128  //enable the text field
	var ret = dlg.Show;
	DOpus.Output("Dialog.Show returned " + ret);
	DOpus.Output ("The string you entered was " + dlg.input);
	return dlg;
}



function Escape(vs_1) { vs_1= vs_1.replace(/#/gi,'%23'); vs_1= vs_1.replace(/ /gi,'%20'); return vs_1; }

Could someone help me troubleshoot, please? This is my first time trying to set it up and I can't get it to work.

When I run it from DO, using the given button, here are the results:
[ul]
[li]LMB: I get the dialog asking for a search string. I enter a string, but then nothing happens afterward.[/li]
[li]MMB: This launches the Everything GUI just fine. (Version 1.3.4.686 (x.64))[/li]
[li]RMB: Nothing happens except for the mouse cursor blinking "wait" very quickly.[/li][/ul]
When I run SearchEverything.exe from a command line, in the same folder as Everything, I get a dialog box saying that the Usage is "SearchEverything ". When I run it with a keyword, nothing happens. But I'm not sure what's supposed to happen here. Would it output to the command line or DO? Well, it does neither.

Thanks.