Pass clipboard contents to 'Everything' search field automatically via command line

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
tuska
Posts: 276
Joined: Thu Jul 13, 2017 9:14 am

Pass clipboard contents to 'Everything' search field automatically via command line

Post by tuska » Thu Feb 11, 2021 6:22 pm

Hi,
I use the tool "Textify" and have entered the following command in the file "Textify.ini":

Code: Select all

command=C:\Tools\Everything\Everything.exe
So I can use the tool "Textify" and after clicking on the button for 'Everything' in "Textify", 'Everything' will be opened.
However, my goal is to have the clipboard contents pasted into the search box of 'Everything' automatically (and not via Ctrl-V).

Therefore I would like to ask you for support.
Thanks!

Regards,
Karl

Textify.ini

Code: Select all

[web_button_7]
icon=icons\Everything.ico
command=C:\Tools\Everything\Everything.exe
width=1200
height=900

NotNull
Posts: 2687
Joined: Wed May 24, 2017 9:22 pm

Re: Pass clipboard contents to 'Everything' search field automatically via command line

Post by NotNull » Thu Feb 11, 2021 6:39 pm

Brilliant idea! (I use Textify all the time anyway)

Try it with command
url=es:%s
instead of command=...

Code: Select all

[web_button_7]
icon=icons\Everything.ico
url=es:%s
external_browser=1
width=800
height=800

(For that to work, enable URL protocol in Everything (Men:Tools > Options > General))


EDIT:
This was based on a 4 year old version of Textify ....

Will check if a newer version functions differently

NotNull
Posts: 2687
Joined: Wed May 24, 2017 9:22 pm

Re: Pass clipboard contents to 'Everything' search field automatically via command line

Post by NotNull » Thu Feb 11, 2021 7:11 pm

In the most recent version of Textify (1.8.2) you can use:

Code: Select all

[web_button_7]
icon=icons\Everything.ico
command=es:%s
width=800
height=800
If you use Everything.exe -search %s instead of es:%s , all (semi-special) characters will be formatted "for the web": a space character becomes %20 etcetera.

Tested by "Textifying" 2001 - 200 по встречной and that comes through perfectly with es: (using Everything.exe this becomes a mess)


The old method (url= ...) is no longer supported (I checked the source code)

tuska
Posts: 276
Joined: Thu Jul 13, 2017 9:14 am

Re: Pass clipboard contents to 'Everything' search field automatically via command line

Post by tuska » Thu Feb 11, 2021 10:42 pm

Hi,

[web_button_7] for Textify v1.8.2 works perfectly! :)
Many thanks for your efforts!

I have added this button here as well:
Tool "Textify" - Summary (english)
Tool "Textify" - Zusammenfassung (deutsch) -> (german)

Regards,
Karl

Post Reply