Hi,
Everything statusbar display 'n objects' of the search result. I'm been using an external script to grab that to determine whether '0 objects' or '1 objects' is return ect...
The problem I'm having is that the Everything Window keep popping up for every search made. I have an array of hundreds of files that need to check routine if it is exists.
Everything time this code is executed, I can't do anything else on this machine because of the the constants popup. Could it be run in the background wihout activate the Everything Window?
I'm exploring es.exe option as well but this cmd window does popup too
Thanks
Not bringing Window to the Top
Re: Not bringing Window to the Top
I think ES.exe is the better alternative (use the -get-result-count)
What program/script do you use to start ES / Everything? Maybe there is a mor elegant way.
What program/script do you use to start ES / Everything? Maybe there is a mor elegant way.
Re: Not bringing Window to the Top
Please try ES.
Or, try starting Everything minimized:
Everything.exe -minimized
Or, try starting Everything minimized:
Everything.exe -minimized
Re: Not bringing Window to the Top
Thanks -minimized work, initially didn't think of it as a hide func
For ES I was able to export the results to txt file but what about exported the -get-result-count
Works
Does not work
For ES I was able to export the results to txt file but what about exported the -get-result-count
Works
Code: Select all
es.exe -name foo bar -export-txt results.txt
Code: Select all
es.exe -get-result-count -name foo bar -export-txt results.txt
Re: Not bringing Window to the Top
zeenmakr wrote: ↑Fri Nov 29, 2019 9:53 pm Does not workCode: Select all
es.exe -get-result-count -name foo bar -export-txt results.txt
Code: Select all
es.exe -get-result-count foo bar
That can be processed further with something like:
Code: Select all
for /f "usebackq" %%x in (`es.exe -get-result-count foo bar`) do if %%x gtr 0 echo Files found (%%x)
(as said: "What program/script do you use to start ES / Everything? Maybe there is a more elegant way.")