Code: Select all
Shell "C:\Program Files\Everything\Everything.exe -s test.txt"I have to select Everything's icon in taskbar to see the results.
Is there any way to bring Everything to front after each search?
thank you.
Code: Select all
Shell "C:\Program Files\Everything\Everything.exe -s test.txt"Yes, It is.void wrote: Fri Nov 05, 2021 7:06 am Is the program calling
Shell "C:\Program Files\Everything\Everything.exe -s test.txt"
in the foreground?
Followed your instruction. But I couldn't find any mention of any keywords listed above. This is what I received.void wrote: Fri Nov 05, 2021 7:06 am Try running:
Shell "C:\Program Files\Everything\Everything.exe -debug -s test.txt"
And look for the following in the debug console:
SetForegroundWindow failed xxxxxxxx
SetActiveWindow failed xxxxxxxx
SetForegroundWindow2 failed xxxxxxxx
What is the error code?
Since this is not recommended, I leave it as the last solution.void wrote: Fri Nov 05, 2021 7:06 am For a hack to force Everything into the foreground (not recommended):
- In Everything, type in the following search and press ENTER:
/set_foreground_window_attach_thread_input=1- If successful, set_foreground_window_attach_thread_input=1 is shown in the statusbar for a few seconds.
I just tested this on a machine that I don't use so often.void wrote: Fri Nov 05, 2021 7:06 am
For a hack to force Everything into the foreground (not recommended):
- In Everything, type in the following search and press ENTER:
/set_foreground_window_attach_thread_input=1- If successful, set_foreground_window_attach_thread_input=1 is shown in the statusbar for a few seconds.
Code: Select all
Shell "C:\Program Files\Everything\Everything.exe -s test.txt" 1