GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Fast search with Everything v2


#1

What Does It Do?

This is a rewrite of the original Everything and ES front end. Its purpose remains the same but the user commands have changed. When you copy ets.js.txt into your Script Addins folder, three commands are added:

ET - front end to everything.exe
ES - front end to es.exe used to create an Opus collection from its output
CLIPTOCOL - used to create a collection from file specs captured on the clipboard

These commands can be triggered from buttons or as instant commands (Type > followed by the command). Examples:

CLIPTOCOL
ET dm:last1mins path:!/temp
ES size:>200mb

For both ET and ES, aliases are resolved before the relevant underlying command is executed.
CLIPTOCOL relies on one or more full path filespecs being present on the clipboard.

Installation

ets.js.txt (11.1 KB)

Copy ets.js.txt into your Script Addins folder (alias = /scripts)
Optionally modify command defaults. Settings --> Preferences --> Toolbars --> Scripts --> ets

etsoptions

everything.exe and es.exe need to be present in your system and locatable. Go to David Carpenter's website to download the latest code. The lookin option can be used to point to where they are if they are not in one of the default locations. If you add a custom location containing spaces, e.g. E:\Program Files\Everything, do not use quotes.

Usage

Executing ET or ES with no arguments always forces a prompt. Otherwise, by default, ES commands prompt the user before being executed and ET commands do not. The etprompt and esprompt options can be used to control this and pressing any qualifier key at run time will reverse whatever behaviour is in force.

A typical prompt looks like this:

etsprompt

Below means restrict the search to the current folder and any subfolders.
Here means restrict the search to the current folder.

Sample Buttons

Drag the attached dcf file to a toolbar while in Customize mode.

etsmenu.dcf (11.9 KB)


Fast search with Everything
#2

Updated to v2.1 to address ES handling of non-ASCII file names.


#3

I can't get lookin to accept E:\Program Files\Everything. I've tried quotes, with and without trailing backslash.


#4

Please try with double backslashes. E:\\Program Files\\Everything


#5

Can you please be a bit more specific. Are you saying you can't add the path to the lookin option or some other problem? It works here.

lookin


#6


#7

The quotes should not be there, based on Aussieboyke's example above.


#8

As stated above, I tried it both ways. In the example he doesn't have quotes because he's using the alias /programfiles. That gave me the idea to create an alias called epf referencing e:\program files. /epf\everything works.


#9

After correspondence with the developer on the Everything forum, I have been able to revert to my original preferred approach of importing to a collection directly from an intermediate file generated by ES. I have updated the head post with version 2.0a. This version also adds a matchdiacritics configuration option.

matchdiacritics

If this option is set to false (the default) then searching for wfn:prüfung.txt will find both prüfung.txt and prufung.txt. Setting it to true will eliminate the latter match.