Is it possible to exclusively open a window/tab with a setting enabled/disabled?
Such as this command:
Code: Select all
Everything64.exe -config-value omit_results=0 -search "C:\" -select C:\file.ogg
Or, is there any way to do this?
Thank you.
Code: Select all
Everything64.exe -config-value omit_results=0 -search "C:\" -select C:\file.ogg
Thank you therube,
Code: Select all
Command 1: Everything64.exe -config-value omit_results=0 -search "C:\" -select C:\file.ogg
Command 2: Everything64.exe -config-value omit_results=1 -startup
Code: Select all
Everything64.exe -config-value omit_results=1 -startup
Code: Select all
Everything64.exe -config-value omit_results=0 -search "C:\" -select C:\file.ogg
Code: Select all
START Everything64.exe -config-value preview_visible=1 -search "C:\" -select C:\file.ogg
TIMEOUT /T 1
START Everything64.exe -config-value preview_visible=0 -startup
Code: Select all
Everything64.exe -search-command "/enable-omit-results" -newwindow
Everything64.exe -newwindow
Thank you NotNull,
Code: Select all
Everything64.exe -search-command "/disable-omit-results" -search "C:\" -select C:\file.ogg
Code: Select all
START Everything64.exe -config-value omit_results=0 -search "C:\" -select C:\file.ogg
TIMEOUT /T 1
START Everything64.exe -config-value omit_results=1 -startup
Code: Select all
Everything64.exe -config-value preview_visible=0 -startup
config-value changes the setting in the INI file ("everything.ini"), so that is a more definitive/permanent way.
Try instead with::
Code: Select all
/show-preview
with -startup, Everything will be started *without* GUI (mainly the database and monitoring parts are loaded).
Yes, that is maybe the reason the setting is applied before Everything starts and also, after 1 second later you are changing it back with the following command:
Code: Select all
START Everything64.exe -config-value omit_results=1 -startup
Yes. It is your opinion too and my opinion too. But Everything honors the settings of the parent window.
Tried with:
Code: Select all
Everything64.exe -search-command "/show-preview" -search "C:\" -select C:\file.ogg
Made some experiments with this "-startup" command and found that, it can be used to silently apply Everything commands. Another command that could do this was "-no-new-window", but it is not completely silent, it defocuses the results window. There can be other ways, but I don't know now.
Thank you. But this does not work properly if "Tools->Options...->General->UI->Run in background" or "Tools->Options...->General->UI->Create a new window when running Everything" is checked:void wrote: ↑Fri Apr 19, 2024 6:45 am Everything 1.5.0.1372a adds the following command line options:
-enable-result-omissions
-disable-result-omissions
Set the default result omissions state with the advanced home_omit_results setting.
Code: Select all
Everything64.exe -disable-result-omissions -search "C:\" -select C:\file.ogg
Code: Select all
START Everything64.exe -config-value omit_results=0 -search "C:\" -select C:\file.ogg
TIMEOUT /T 1
START Everything64.exe -config-value omit_results=1 -startup
Thank you.void wrote: ↑Thu Apr 25, 2024 6:59 am Everything 1.5.0.1373a fixes an issue with -enable-result-omissions/-disable-result-omissions being applied after the new window/tab was created.
I understand, it is not the preferred way. But previously there was no better choice. Now after the "-enable-result-omissions/-disable-result-omissions" options are added, "-config-value" method is not needed for omit results. But this is only applicable for "omit results" settings.
Can you consider adding an option such that, new tabs/windows inherit settings from the config?
I don't understand, why you have given the "-preview/-no-preview" command line example? This "-preview" command line option does the opposite of what I am asking for. It cannot exclusively open a window/tab with a preview pane (this does not prevent new windows/tabs from opening a preview pane). Combination of both "-preview" and "-no-preview" does not work either. Thus, it is not a solution for the issue. I don't know, did I fail to make you understand the issue?void wrote: ↑Thu Apr 25, 2024 6:59 am Please use the window command line options to setup your new window.
For example:
Everything.exe -preview
Everything.exe -no-preview
Everything.exe -enable-result-omissions
Everything.exe -disable-result-omissions
To disable inheriting settings for new windows:Can you consider adding an option such that, new tabs/windows inherit settings from the config?
I am not sure what you want here.I don't understand, why you have given the "-preview/-no-preview" command line example?
Thank you for discussing about so many options to achieve this. The "preview:" Search Function and "home_remove_layout" setting is a nice way to do this. But they are not for all config settings.
There should be search functions that cover all window/view options.Thank you for discussing about so many options to achieve this. The "preview:" Search Function and "home_remove_layout" setting is a nice way to do this. But they are not for all config settings.
I think what you are after is a -no-update-config command line option which flags the existing/new-tab/new-window to not update the config on close.Also, "new_inherit=0" does not work for all settings, such as disabling the "Size" column still echoes in the subsequent new windows. Also, as closing a window updates config, so this is not much of a use now.
new_inherit will work for tabs in the next alpha update.Also note that, not just "new_inherit=0", the "home_remove_layout" also does not work for new tabs.
Such as, how to exclusively open a window/tab with a specific Theme, Fonts and Colors (this should not affect other past or future windows/tabs and should not be inherited, of course).
Thank you for discussing another option. And this was working nice (tested with "preview_visible=1"). But then I found it cannot lock any config setting, such as "size_column_visible=1". I checked "Help -> Troubleshooting Information" and it shows:
I didn't find these settings "-no-update-config", "-uninheritable", "-exclusive"; I guess you were talking about hypothetical or in the future. Yes, they would be nice.void wrote: ↑Sat Apr 27, 2024 12:04 am I think what you are after is a -no-update-config command line option which flags the existing/new-tab/new-window to not update the config on close.
Another step further, there could be a -uninheritable command line option which flags the existing/new-tab/new-window as uninheritable (new-tabs/new-windows will not inherit settings from this window).
Maybe an -exclusive command line option could combine these..
Thanks for bringing this to my attention.Thank you for discussing another option. And this was working nice (tested with "preview_visible=1"). But then I found it cannot lock any config setting, such as "size_column_visible=1".
This still does not apply to tabs but applies to only windows: shown below:
Yes, but this does not support locking column width like the newly added registry and group policy method do. Does it?
Note that, window options are already applied to tabs for other settings such as column visibility, different tabs can have different column visibility and this also happens for other settings such as, Match Case, Match Diacritics, omit results, etc.
Thank you for a possible policy.ini, -no-update-config and -uninheritable in the future. They would be very nice.