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, sheep, Hacker, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 2601
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: 2601
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: 727
Joined: 2014-01-06, 16:26 UTC
Location: MOW

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 10.00 x64, Windows 7 SP1 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 4589
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 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
User avatar
tuska
Power Member
Power Member
Posts: 2601
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: 2601
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: 2601
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: 4589
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 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
User avatar
tuska
Power Member
Power Member
Posts: 2601
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: 4589
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 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
User avatar
tuska
Power Member
Power Member
Posts: 2601
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.
Post Reply