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.
Correct, home columns only remembers the order and visibility.Yes, but this does not support locking column width like the newly added registry and group policy method do. Does it?The preferred method for locking columns is to set your home columns and lock the home column settings.
The next alpha update will support a Policy.iniSo, there is currently no way to do this (locking column width) in a fully portable manner?
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.
So, why not the same principle should be applied to pane visibility and all possible settings?
A tab has its own search state and view (thumbnails/details) state.The issue is about exclusivity of any setting; this should not look for whether it falls under window options or not.
Yes, nice point.
That would be nice. But also note that, the current behavior of different tabs sharing the same pane visibility of its window is also a nice feature.
The next alpha update will add support for the following advanced settings:But still, even if it looks silly, user should have the freedom to lock/unlock any setting.
This silliness can be resolved if lock is implemented separately for windows and tabs.
Code: Select all
new_tab_command_line=-no-preview -columns [{"name":"Name","width":330},{"name":"Path","width":330},{"name":"Size","width":46},{"name":"Date Modified","width":99}]
But, other than the graphical user interface, is "Tools->Options...->General->Home" even necessary after "new_window_command_line" and "new_tab_command_line" are implemented? Because, they are supposed to contain more options than Home settings and more tunable too.
They will be very nice. Don't know whether they support less or more settings than the INI settings but they will contain a lot of settings. I guess, they are very sufficient. Very thank you for that.
Yes, not a big problem for now. This feature: whether all tabs should inherit their window's settings or every tab has different settings or both can be implemented later.
Yes, tried it, it is working fine. I thought the opposite (omit-results:) will be there but not need it for now. "no-omit-results:" is sufficient for now I guess.void wrote: ↑Sat May 18, 2024 7:07 am There is also a new no-omit-results: search modified available in Everything 1.5.0.1376a.
Checked that, it is working very nice as a portable version of registry method.
Yes.But, other than the graphical user interface, is "Tools->Options...->General->Home" even necessary after "new_window_command_line" and "new_tab_command_line" are implemented? Because, they are supposed to contain more options than Home settings and more tunable too.
Please try the virtual columns ini setting in your Policy.iniBut after that, there is another column locking related issue, is that, there is no way to lock/set custom column formula's column width.
This does not go well with locked column width. Suppose, after locking column width if formula added column width cannot be locked, it does not go well.
I tried in various ways to resolve this. Such as, addcolumn:_key_:position:width, _key_-width:=width, using Custom Property columns with Policy.ini and home settings. But, none worked.
Code: Select all
[Everything]
columns=[{"name":"Name","width":217},{"name":"Path","width":216},{"name":"Size","width":61},{"name":"Date Modified","width":99},{"name":"Column A","width":128},{"name":"Column 1","width":128}]
omit-results: will be added in the future.Yes, tried it, it is working fine. I thought the opposite (omit-results:) will be there but not need it for now. "no-omit-results:" is sufficient for now I guess.
This and "/columns=" are working fine. But problem is: The added columns are always visible, even when they are empty or no formula is in use. I tried to mean the column should only be shown if a formula is working on the column and the column is not empty.void wrote: ↑Sat May 25, 2024 7:37 am Please try the virtual columns ini setting in your Policy.ini
Policy.ini:The /columns command line option and the columns: search function also now support a JSON array of column objects.Code: Select all
[Everything] columns=[{"name":"Name","width":217},{"name":"Path","width":216},{"name":"Size","width":61},{"name":"Date Modified","width":99},{"name":"Column A","width":128},{"name":"Column 1","width":128}]
Yes, this seems to work like "omit-results:". Thank you.
Code: Select all
columns:[{"name":"Name","width":217},{"name":"Path","width":216},{"name":"Size","width":61},{"name":"Date Modified","width":99},{"name":"Column A","width":128},{"name":"Column 1","width":128}]
new_tab_inherit only applies to per-tab-settings. (for example: match case, columns, thumbnail view, etc...)Inheritance cannot be done separately for windows and tabs. Each setting's tabs and windows inheritance behavior is decided by Everything. new_tab_inherit and new_window_inherit is supposed to fix this but not implemented or correctly implemented yet.