Default search string at startup?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Default search string at startup?

Post by ChrisGreaves »

I know how to make a batch file that executes a command line with the /s switch etc, but I would prefer something that will take a current search string and stores it in Everything's environment, such as the INI fie, so that I can carry on and load Everything without editing a BATCH file.

Typically I am working on a project, using Everything to locate files, and think "Hey! This search string is so useful that I am using it every time that I come in here. I should save it for next time."

I store it as a bookmark, but I can't see a way to trigger the bookmark at the time Everything is loaded and control is handed to the user.

I am not sure of the correct term here, but it is probably one of { pre-defined | default | startup | load-time | starting | restart } search-string.

My first thought was to search the forums, but I came away empty. I suspect that I do not yet know the correct term in Everything.
My second thought was to examine the INI file, all 68 pages of it.
Then I searched Void's posting INI Settings

Maybe it is not the environment described in the INI file; maybe I should be looking for "Autoexecute" or similar.
Thanks for any suggestions.
Cheers, Chris
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Default search string at startup?

Post by void »

Please try the -bookmark command line option.
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: Default search string at startup?

Post by ChrisGreaves »

void wrote: Thu Mar 23, 2023 11:15 am Please try the -bookmark command line option.
Thanks Void. :clapping:

(OK, OK, I'll stop playing around with BATch files and get back to studying bookmarks and macros ...) :lol:
Cheers, Chris
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Default search string at startup?

Post by NotNull »

An alternative:
Define your Home-search (under Menu:Tools > Options > General > Home):
Every new Everything window will start withe the search configured here


2023-03-23 21_54_38-Options - Everything (1.5a).png
2023-03-23 21_54_38-Options - Everything (1.5a).png (20.98 KiB) Viewed 950 times
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: Default search string at startup?

Post by ChrisGreaves »

NotNull wrote: Thu Mar 23, 2023 8:56 pmDefine your Home-search (under Menu:Tools > Options > General > Home):
Every new Everything window will start withe the search configured here
Thank you NotNull.:thumbsup:
That IS exactly what I was looking for.
I had it set up in a batch file, but prefer :D to have it set from within Everything because that is where I am when I start a new investigation.
Cheers, Chris
Post Reply