Hyperlink that start serach a string in Everything

General discussion related to "Everything".
Post Reply
PicNicNic
Posts: 5
Joined: Thu Oct 17, 2019 7:44 am

Hyperlink that start serach a string in Everything

Post by PicNicNic »

Hallo,

is it possible to create a Link that start a search with a specific string (which must to be searched) in Everything?

Thank You
void
Developer
Posts: 15351
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hyperlink that start serach a string in Everything

Post by void »

Please try -search command line option:

Everything.exe -search "abc 123"
The Everything search is set to: abc 123

Use triple double quotes (""") to escape a literal double quote:

Everything.exe -search """"abc 123""""
The Everything search is set to: "abc 123"



-search



The shortcut target should look something like:
"C:\Program Files\Everything\Everything.exe" -search "abc 123"
PicNicNic
Posts: 5
Joined: Thu Oct 17, 2019 7:44 am

Re: Hyperlink that start serach a string in Everything

Post by PicNicNic »

void wrote: Tue Apr 18, 2023 11:52 am Please try -search command line option:

Everything.exe -search "abc 123"
The Everything search is set to: abc 123

Use triple double quotes (""") to escape a literal double quote:

Everything.exe -search """"abc 123""""
The Everything search is set to: "abc 123"



-search



The shortcut target should look something like:
"C:\Program Files\Everything\Everything.exe" -search "abc 123"
Thank you.

It works, but without "

not
"C:\Program Files\Everything\Everything.exe" -search "abc 123"
C:\Program Files\Everything\Everything.exe -search "abc 123" <- it works

Can i create an URL non shortcut?
I want to use it from Onenot or Word.
void
Developer
Posts: 15351
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hyperlink that start serach a string in Everything

Post by void »

Enable the ES URL Protocol and use an es://search URL to open Everything and set the search:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check URL Protocol.
  • Click OK.
Use an es: URL to open Everything and set the search.
For example:
abc 123

es: URL Protocol
PicNicNic
Posts: 5
Joined: Thu Oct 17, 2019 7:44 am

Re: Hyperlink that start serach a string in Everything

Post by PicNicNic »

void wrote: Wed Apr 19, 2023 8:13 am Enable the ES URL Protocol and use an es://search URL to open Everything and set the search:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check URL Protocol.
  • Click OK.
Use an es: URL to open Everything and set the search.
For example:
abc 123

es: URL Protocol
Hi. Thank You!

With such a link the search will be opened again and again in a new Everything window. Is it possible to set the search to start in an active window?
void
Developer
Posts: 15351
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hyperlink that start serach a string in Everything

Post by void »

Everything will use the Tools -> Options -> UI -> "Create a new window when running Everything" option to specify if a new window is created or an existing window is shown.

If you don't want to change this setting, you can customize the ES: call by editing your registry:
  • From the Start menu, search for: regedit
  • Right click the Registry Editor and click Run as administrator.
  • Navigate to:
    HKEY_CLASSES_ROOT\ES\shell\open\command
  • On the right, change the (Default) value data to include -new-window or -no-new-window
  • For example:
    "C:\Program Files\Everything\Everything.exe" -url "%1" -no-new-window
Post Reply