Open Everything GUI results with TC LOADLIST

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

Ovg wrote: 2021-10-22, 17:55 UTC And you shouldn't apologize.... :D
Well, better once too much than too little. :)
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

2Horst.Epp

This TEST...
  1. Changing the column order in Everything
    FROM: Name, Path (Default: 2,1)
    TO...: Path, Name (1,2)
    -AND-
    Change of the .INI file
    FROM: EverythingColumnPositions=2,1 (Default: 2,1)
    TO...: EverythingColumnPositions=1,2 (Path, Name)
     
  2. has shown that WITHOUT restarting Everything
    in TC on tab "Search result:" no search results are displayed, although they are available!

     
  3. Even if you then restore the original column order in Everything
    and make the appropriate changes in the .INI file --> WITHOUT restarting Everything,
    the search result in TC remains empty, although search results are available in EV.
I can confirm this behaviour here:
Ovg wrote: 2021-10-14, 19:23 UTC While I was rewriting the script, I found out that if you change the order of the columns in EV
you will have to write the changes in ini file and then completely exit EV
and launch it again so that the script will recognize the change.
and here:
Ovg wrote: 2021-10-14, 19:59 UTC 2Horst.Epp
I found out that if you change the order of the columns in EV you will have to write the changes in ini file
and then completely exit EV and launch it again so that the script will recognize the change.
but I cannot confirm this behaviour in this case:
Horst.Epp wrote: 2021-10-10, 17:58 UTC 5. Run the script once and edit the created ini file to make any necessary option changes.
    No need to recompile the script.
I suggest that one either adjust the script or adjust the text, e.g. as follows:
"Exception: After each change of the column order in Everything, a restart of Everything is necessary
and a change in the .INI file (EverythingColumnPositions=) is required.


However, changing other options in the .INI file, such as
- CloseEverything =1 (default) ... to ... CloseEverything =0 (-> Option: 2 Skripts + 2 Hotkeys (QAP): Everything-window ... OPEN/CLOSE :D )
- UseInstance = (default) ... to e.g. ... UseInstance = Everything (-> unnecessary, as the use of multiple instances is possible without input)
- AddEndSlash =1 (default) ... to ... AddEndSlash =0 *)
is possible WITHOUT having to recompile the script.

*) On this occasion I noticed that in the script (.ahk) and in the first post there is no description of the parameter AddEndSlash =.
My suggestion is to point out to the user that a change
FROM: AddEndSlash = 1 (default)
TO..: AddEndSlash = 0 ... means that ONLY FILES and NO FOLDERS are displayed in the search result in TC.

Therefore, please check.
Thank you!
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *Ovg »

2tuska

1. The script must be recompiled only if it has been changed (Added / deleted / changed commands). If only comments are changed/added/deleted
and/or ini file has been changed - recompile isn't required. Comments - all after ;.

2. AddEndSlash=1 - add \ to the end of folder's path regardless EV parameter folder_append_path_separator
AddEndSlash=0 - don't add \ to the end of folder's path regardless EV parameter folder_append_path_separator
Script analyses full path (path+name) and if it belongs to folder - remove or adds \ if necessary according AddEndSlash
parameter. There are both files and folders in the result list. This is a TC's problem - require of trailing \.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Everything GUI results with TC LOADLIST

Post by *Horst.Epp »

2tuska
For a normal usage there is never a need for the user to change the default of AddEndSlash = 1.
It makes no sense to see this as an option to only show files, as this is an error in TC and not wanted behaviour.
This switch is just a help for testing with new functions or settings in TC or Everything but not for normal usage.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

Ovg wrote: 2021-10-23, 06:47 UTC 2tuska

1. The script must be recompiled only if it has been changed (Added / deleted / changed commands).
If only comments are changed/added/deleted and/or ini file has been changed - recompile isn't required.
Comments - all after ;.

2. AddEndSlash=1 - add \ to the end of folder's path regardless EV parameter folder_append_path_separator
AddEndSlash=0 - don't add \ to the end of folder's path regardless EV parameter folder_append_path_separator
Script analyses full path (path+name) and if it belongs to folder - remove or adds \ if necessary according AddEndSlash
parameter. There are both files and folders in the result list. This is a TC's problem - require of trailing \.
ad 1.
Thank you for the detailed description!

"If only comments are changed/added/deleted and/or ini file has been changed - recompile isn't required."

.INI file: Here I have pointed out the following:
"Exception: After each change of the column order in Everything, a restart of Everything is necessary
and a change in the .INI file (EverythingColumnPositions=) is required".

I have made the suggestion here regarding point 5. so that a user is aware,
that he cannot only
edit the .ini file - without recompilation - but must also restart Everything.

Whatever Horst.Epp decides, I consider this point settled.

ad 2.
Thank you also for this detailed description!

AddEndSlash=0
OK, if this is a mistake in TC
- I wasn't really aware of that until now, because I only concentrated on the test results -,
then perhaps one could still make a note for the user that only files are then displayed in the search results,
until the bug is fixed in TC.

Perhaps there are users who would like to have such an option and perhaps execute it with a second script
(similar to Everything window remains OPEN <CloseEverything =0> / CLOSED <CloseEverything =1>).
That is still possible at the moment.

Whatever Horst.Epp decides, I also consider this point to be settled.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

Horst.Epp wrote: 2021-10-23, 08:02 UTC 2tuska
For a normal usage there is never a need for the user to change the default of AddEndSlash = 1.
It makes no sense to see this as an option to only show files, as this is an error in TC and not wanted behaviour.
This switch is just a help for testing with new functions or settings in TC or Everything but not for normal usage.
Thank you for your answer.
I have made my position known before.

The decision is yours.
As I said, I consider these points settled for me.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

Hi,

Code: Select all

Skript in first post - line 164:

Run %TotalCmd% /O /T /S %DestinationDir%	WORKS!
Run %TotalCmd% /O /T /A /L %DestinationDir%	WORKS!

Run %TotalCmd% /O /A /R %DestinationDir%	EV search result in TC - right panel	) I can't get this to work!
Run %TotalCmd% /O /T /A /R %DestinationDir%	EV search result in TC - right panel	) The LEFT TC window is ALWAYS called up.
...
Can you please check this.
I would very much appreciate it if this could still be set up somehow.

Here was a discussion: [SOLVED] Select right panel when i open a path from "Everything" search

PS: I've tried quite a few things,
so I'd prefer someone to share a solution rather than just say "try this, try that".
[Although I probably couldn't resist that temptation either]. :?
Thank you!
Last edited by tuska on 2021-10-26, 14:47 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Everything GUI results with TC LOADLIST

Post by *Horst.Epp »

That works fine here, the results are opened in the right side.
Run %TotalCmd% /O /T /R=%DestinationDir%

I prefere my solution in the script,
which opens on the active side which can be left or right.

Please note that your /A is of no value in the context of the script
as the result is never an archive.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

Horst.Epp wrote: 2021-10-26, 14:37 UTC That works fine here, the results are opened in the right side.
Run %TotalCmd% /O /T /R=%DestinationDir%

I prefere my solution in the script,
which opens on the active side which can be left or right.

Please note that your /A is of no value in the context of the script
as the result is never an archive.
Thanks for your support and the tip!

Now it works for me too. :)

Code: Select all

Run %TotalCmd% /O /T /R=%DestinationDir%
Run %TotalCmd% /O /R=%DestinationDir%
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Everything GUI results with TC LOADLIST

Post by *Horst.Epp »

Updated the description on the first post
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

In addition to the first post in the forum by Horst.Epp
and from a user's point of view, I have created a STEP-BY-STEP guide and summary on this topic.

Please see: Transfer 'Everything' GUI results to Total Commander
(The only reason I made this summary in a separate topic is, that due to forum restrictions,
I have made it possible for myself to update this post at a later date if necessary).

If you have any comments or questions, please post them here, in the main thread.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

Horst.Epp wrote: 2021-10-10, 17:58 UTC 2. Create an Auto Switch mode which triggers when the dir from step 1 is opened
    and sets the View mode "Branch View"
I am interested in your solution, but I do not know how to implement it at the moment.

Can you please tell me the corresponding entry in the wincmd.ini in the section [ViewModes].
To be on the safe side, please also include the rule for switching from Auto Switch Mode in the [ViewModeSwitch] section.

Thank you!
(AHK-Skript - 04.10.2022 - Line 164: Run %TotalCmd% /O /T /S LOADLIST:%DestinationFile% (NEW!))
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Everything GUI results with TC LOADLIST

Post by *Horst.Epp »

Hello Tuska
here my entries, the numbers must be adapted of course

[ViewModeSwitch]
4_rules=+C:\Tools\Wincmd\Scripts\Results\
4_mode=2

[ViewModes]
2_name=Branch View
2_icon=
2_commands=*|cm_SrcViewMode0
2_options=6|-1|0||-1|-1|-1|-1|-1
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Everything GUI results with TC LOADLIST

Post by *tuska »

2Horst.Epp
Thank you for making your settings available. :)

What do you have stored under View Mode <Default>?

"1 Ansicht_Vorgabe"
- Columns view:
- Sort order:
etc.

I assume that you have the following settings - please correct me if necessary:
  1. View Mode
    • View Mode name: Branch View
    • Columns view: 1 Ansicht_Vorgabe
    • Sort order: Name
    • Auto-run commands: *|cm_SrcViewMode0
  2. Auto Switch Mode
    • ✅ Automatically switch view mode on directory change:
    • +: Must match: C:\Tools\Wincmd\Scripts\Results\ (this is my path: %COMMANDER_PATH%\EV-Results\)
    • Set this mode: Branch View
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Everything GUI results with TC LOADLIST

Post by *Horst.Epp »

2Tuska
My default view mode is:
0_name=<default>
0_icon=
0_options=1|-1|0||-1|-1|-1|-1|-1

That means:
Columns view: Full View
Sort order: Unchanged
No Auto-run command
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply