Can one create a shortcut which shows Everything and set a special (custom) search filter?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Biff
Posts: 1155
Joined: Mon May 25, 2015 7:09 am

Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by Biff »

Can one create a shortcut which shows Everything and set a special (custom) search filter?
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by void »

Please use the -s <text> command line option to specify a custom search from an Everything shortcut

For example, to launch Everything with the search filled with foo bar:
Everything.exe -s "foo bar"
Biff
Posts: 1155
Joined: Mon May 25, 2015 7:09 am

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by Biff »

Thank you very much!

I am not quite sure, e.g. I want this search to be used:
Image

So I woul have to add this:
"I:\Videos\Filme 2\" | "I:\Videos\Filme\" | "I:\Videos\Serien auf DVD\" | "I:\Videos\Serien 2\"

This does not seem to work:
"C:\Programme\Everything\Everything.exe" -s "I:\Videos\Filme 2\" | "I:\Videos\Filme\" | "I:\Videos\Serien auf DVD\" | "I:\Videos\Serien 2\"
Added here:
Image
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by void »

It might be easier to set the search to "" and apply the filter: Liste
Everything.exe -s "" -filter "Liste"

Alternatively, to set the search to "I:\Videos\Filme 2\" | "I:\Videos\Filme\" | "I:\Videos\Serien auf DVD\" | "I:\Videos\Serien 2\":
Everything.exe -s """"I:\Videos\Filme 2\""" | """I:\Videos\Filme\""" | """I:\Videos\Serien auf DVD\""" | """I:\Videos\Serien 2\""""

A triple double quote is replaced with a single literal double quote.
Biff
Posts: 1155
Joined: Mon May 25, 2015 7:09 am

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by Biff »

Many thanks.

Works pferfectly.

Can I somehow assign this link
Image
to that filter directly
Image
or do I have to open Everything / the filder by clicking the link (.lnk)?
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by void »

What are you trying to do?

Running Everything.exe with the -filter "Film-und Serien-Liste" command line option should be making your "Film-und Serien-Liste" filter the active filter.
Biff
Posts: 1155
Joined: Mon May 25, 2015 7:09 am

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by Biff »

Sorry for my bad expression.

I meant: one can assign shortcuts in Everything. E.g. F10 to open a search window. And now - with the new .lnk I can open a new window with a special filter by e.g. double clicking (without using a shortcut) that new lnk (.lnk). Can I assign a shortcut in / with Everything to start that new link (instead of double clicking it) to open a new window with the special filter?
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by void »

I'm not 100% what you are after..

To open a new window with your lnk file and -newwindow to the command line:
Everything.exe -s "" -filter "Film-und Serien-Liste" -newwindow

To create a custom keyboard shortcut to open this lnk:
  • Right click your Everything lnk shortcut.
  • Click the Shortcut tab.
  • Click in Shortcut key and press a new shortcut key.
  • Click OK.
Note: lnk shortcut keys will only work if the lnk file is on your desktop.
Biff
Posts: 1155
Joined: Mon May 25, 2015 7:09 am

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by Biff »

Thank you very much.

Sorry again for the bad expression.

Yes, got it working that way. And got the answer to my question.

I meant, what I asked for, can one achieve this (create a shortcut to open this lnk) with Everything (solely), so could one create a shortcut in / within Everything, e.g. here
Image


instead of doing it here / that way, outside of Everything:
To create a custom keyboard shortcut to open this lnk:

Right click your Everything lnk shortcut.
Click the Shortcut tab.
Click in Shortcut key and press a new shortcut key.
Click OK.
But I assume you have to create such a shortcut outside Everything - otherwise you would not have explained it doing it like that - to open it that way (with a defined search filter).

Alright, works great now, many thanks again
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by void »

Change your "home" search:
  • In Everything, from the Tools menu, click Options.
  • Click the Home tab on the left.
  • Change the search to your desired default search.
  • Click Ok.
Now when you open a new window, the search will be filled in with the above "home" search.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by NotNull »

@Biff: You already discovered that you can activate a filter with a keyboard shortcut (F8 for the Film-Liste) and Ctrl-N for a new search window.
If you combine these two: Press Ctrl-N, Press F8 and you achieved your goal (that is: if I understood the question).

The keyboard shortcut for filters has a nice side-effect: press it once and you activate your filter; press it a second time and you are back in the "Everything" filter. I don't know about your specific use-case, but for me that would be enough to run it without starting a new search window

TIP: Ever since I was staring a my empty result list for way too long before I realized I had still an active filter, I have the search bar show the current active filter (Menu:View > Filters). You could also use this to switch between filters.
Biff
Posts: 1155
Joined: Mon May 25, 2015 7:09 am

Re: Can one create a shortcut which shows Everything and set a special (custom) search filter?

Post by Biff »

Change your "home" search:

In Everything, from the Tools menu, click Options.
Click the Home tab on the left.
Change the search to your desired default search.
Click Ok.
Thank you very much!
You already discovered that you can activate a filter with a keyboard shortcut (F8 for the Film-Liste) and Ctrl-N for a new search window.
If you combine these two: Press Ctrl-N, Press F8 and you achieved your goal (that is: if I understood the question).
Not exactly, but I am very satisfied with how it works now, very great.
The keyboard shortcut for filters has a nice side-effect: press it once and you activate your filter; press it a second time and you are back in the "Everything" filter. I don't know about your specific use-case, but for me that would be enough to run it without starting a new search window
Oops, I had considered to ask something like that: use the same key to go back to the state before. Completely missed that, unbelievable. Very good you mentioned it, thank you.
TIP: Ever since I was staring a my empty result list for way too long before I realized I had still an active filter, I have the search bar show the current active filter (Menu:View > Filters). You could also use this to switch between filters.
You mean this one:
Image
Yes, that is very useful.

Many thanks
Post Reply