LOADSEARCH and Everything do not autorun for me

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
KozakMak
Senior Member
Senior Member
Posts: 370
Joined: 2021-05-24, 12:39 UTC
Location: UA

LOADSEARCH and Everything do not autorun for me

Post by *KozakMak »

when i do LOADSEARCH for this - it's immediately show search results

Code: Select all

temp30_SearchFor=
temp30_SearchIn=%temp%
temp30_SearchText=
temp30_SearchFlags=0|002002000020|||||||||0000||30|1
...but when i use Everything "start search" button must be pressed manually

Code: Select all

empty folders (everything )_SearchFor=ed: childfilecount:0
empty folders (everything )_SearchIn=%temp%
empty folders (everything )_SearchText=
empty folders (everything )_SearchFlags=0|002002000020|||||||||0000|||
Is this how it should be?
OS: Win10 | TC: latest x64
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: LOADSEARCH and Everything

Post by *tuska »

Hi,
In which section(s) are these values?
EDIT - found it: [searches]

Button
- What exactly is written in the command line?
- What is entered under parameters?

Have you already run a test with a TC_clean_x64.ini?

How else can someone recreate this example?
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: LOADSEARCH and Everything do not autorun for me

Post by *Stefan2 »

2KozakMak
History.txt wrote:12.08.20 Added: Command LOADSEARCH <saved name> (e.g. on button):

Put one equal sign = in front of name to start searching immediately,
Command: LOADSEARCH=saved search name

two == to start and feed to listbox after search (32/64)
Command: LOADSEARCH==saved search name



For more see my sig
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: LOADSEARCH and Everything do not autorun for me

Post by *tuska »

I have tested this as follows:
✅ 'Everything'

Find Files (separate) - Alt+Shift+F7

Code: Select all

Saved search: temp30
Search in:    %temp%
Advanced:     ✅ Older than: 30 day(s)
TC_clean_x64.ini

Code: Select all

...
[searches]
temp30_SearchFor=
temp30_SearchIn=%temp%
temp30_SearchText=
temp30_SearchFlags=0|002002000020|||||||||0000||30|1
[SearchIn]
0=%temp%
LOADSEARCH=temp30

Code: Select all

TOTALCMD#BAR#DATA
LOADSEARCH
=temp30
wciconex.dll,22
LOADSEARCH=temp30 || LOADSEARCH and Everything|https://www.ghisler.ch/board/viewtopic.php?t=80150


-1
LOADSEARCH==temp30

Code: Select all

TOTALCMD#BAR#DATA
LOADSEARCH
==temp30
wciconex.dll,22
LOADSEARCH==temp30 || LOADSEARCH and Everything|https://www.ghisler.ch/board/viewtopic.php?t=80150


-1


Find Files (separate) - Alt+Shift+F7

Code: Select all

Saved search: empty folders (everything )
Search for:   ed: childfilecount:0
Search in:    %temp%
✅ 'Everything'
TC_clean_x64.ini

Code: Select all

[searches]
empty folders (everything )_SearchFor=ed: childfilecount:0
empty folders (everything )_SearchIn=%temp%
empty folders (everything )_SearchText=
empty folders (everything )_SearchFlags=0|002002000020|||||||||0000|||
LOADSEARCH=empty folders (everything )

Code: Select all

TOTALCMD#BAR#DATA
LOADSEARCH
=empty folders (everything )
wciconex.dll,22
LOADSEARCH=empty folders (everything ) || LOADSEARCH and Everything|https://www.ghisler.ch/board/viewtopic.php?t=80150


-1
LOADSEARCH==empty folders (everything )

Code: Select all

TOTALCMD#BAR#DATA
LOADSEARCH
==empty folders (everything )
wciconex.dll,22
LOADSEARCH==empty folders (everything ) || LOADSEARCH and Everything|https://www.ghisler.ch/board/viewtopic.php?t=80150


-1
Results

With the first search query, the two buttons work!
With the immediately following search query with one of the two buttons, the search query does not work properly.

This means that in order to obtain a subsequent correct search result, TC would currently have to be restarted.
(After a restart of TC, "Feed to listbox", for example, is always reliably executed).

Examples

LOADSEARCH=temp30 & LOADSEARCH==temp30

Code: Select all

1. LOADSEARCH==temp30 -> OK ...  "Feed to listbox" is executed
2. LOADSEARCH=temp30  -> OK
3. LOADSEARCH==temp30 -> Not OK! "Feed to listbox" is NOT executed - result as under 2.
LOADSEARCH=empty folders (everything ) & LOADSEARCH==empty folders (everything )

Code: Select all

1. LOADSEARCH=empty folders (everything )  -> OK
2. LOADSEARCH=empty folders (everything )  -> Not OK

1. LOADSEARCH=empty folders (everything )  -> OK
2. LOADSEARCH==empty folders (everything ) -> Not OK
I consider this a bug.

2KozakMak
Can you please test this in TC 11.02RC3 x86?


Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.2428) | TC 11.02RC2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LOADSEARCH and Everything do not autorun for me

Post by *ghisler(Author) »

I can reproduce it when there was a previous manual search (the search window then shows older search results when opened again).

Could you try with Total Commander 11.02 RC3, please? It should delay the start of the search until the dialog box is fully shown.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: LOADSEARCH and Everything do not autorun for me

Post by *tuska »

2ghisler(Author)
HISTORY.TXT wrote:18.10.23 Release Total Commander 11.02 release candidate 3
16.10.23 Fixed: Find files: when invoked via LOADSEARCH=Saved_search,
                        start the search only after the search window is fully visible to avoid crash after additional searches (32/64)
EDIT:
This fix does NOT concern this topic but [11.02RC1/2] Invalid pointer operation after LOADSEARCH ...

Code: Select all

LOADSEARCH=temp30 & LOADSEARCH==temp30 .........................................  TC 11.02RC3 x64 & x86 -> OK!
LOADSEARCH=empty folders (everything ) & LOADSEARCH==empty folders (everything )  TC 11.02RC3 x64 & x86 -> OK! 
This is fixed in TC 11.02RC3 x64 & x86. :)
Thank you!

Tested with TC_clean_x64.ini and TC_clean_x86.ini.
Last edited by tuska on 2023-10-19, 10:11 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LOADSEARCH and Everything do not autorun for me

Post by *ghisler(Author) »

Thanks for testing!

Could that be the same bug as described here?
viewtopic.php?t=80278
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: LOADSEARCH and Everything do not autorun for me

Post by *tuska »

ghisler(Author) wrote: 2023-10-19, 09:05 UTC Thanks for testing!

Could that be the same bug as described here?
viewtopic.php?t=80278
Mmh, I did not use the start menu in TC 11.02RC2 x64 and TC 11.02RC3 x64 and x86 using Windows 11 Pro.
In my test cases, no plugin was involved either.

If the user hi5 does not get in touch in the foreseeable future and you would like me to,
I can try to create such a test case in TC 11.02RC3.
KozakMak
Senior Member
Senior Member
Posts: 370
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: LOADSEARCH and Everything do not autorun for me

Post by *KozakMak »

Stefan2 wrote: 2023-10-18, 13:25 UTC Command: LOADSEARCH=saved search name
Command: LOADSEARCH==saved search name

where can to find this info in TOTALCMD.CHM ?
OS: Win10 | TC: latest x64
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: LOADSEARCH and Everything do not autorun for me

Post by *white »

KozakMak wrote: 2024-04-02, 11:40 UTC
Stefan2 wrote: 2023-10-18, 13:25 UTC Command: LOADSEARCH=saved search name
Command: LOADSEARCH==saved search name
where can to find this info in TOTALCMD.CHM ?
Try searching for the term "LOADSEARCH"?
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: LOADSEARCH and Everything do not autorun for me

Post by *Gral »

... and get 2 results:

Dialog box: Configuration - Change button bar -> Command -> 10.LOADSEARCH
(mk:@MSITStore:TOTALCMD.CHM::/dlg_configbuttonbar.htm)

What's new in this version? -> New functions and fixes in Total Commander 10.00: -> Internal commands:
(mk:@MSITStore:TOTALCMD.CHM::/whats_new.htm)
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: LOADSEARCH and Everything do not autorun for me

Post by *Stefan2 »

KozakMak wrote: 2024-04-02, 11:40 UTC
Stefan2 wrote: 2023-10-18, 13:25 UTC Command: LOADSEARCH=saved search name
Command: LOADSEARCH==saved search name

where can to find this info in TOTALCMD.CHM ?


Read the TC-Help:
Click the [Help]-Button or press the F1-key or open the TOTALCMD.CHM from TC folder (or subfolder "e").
In CHM go > Operation > User interface > click on the "Button bar"-picture > in the text click on "Dialog box to change"
> use then there the "Ctrl+F"-search to find what you are searching.


Unfortunately there is not everything of the details written to the help, so:
(search the forum and the History.txt from the TC folder for the keyword/parameter in question to learn more about)

Stefan2 wrote: 2023-10-18, 13:25 UTC 2KozakMak
History.txt wrote:12.08.20 Added: Command LOADSEARCH <saved name> (e.g. on button):

Put one equal sign = in front of name to start searching immediately,
Command: LOADSEARCH=saved search name

two == to start and feed to listbox after search (32/64)
Command: LOADSEARCH==saved search name



For more see my sig



That's why we try to collect such info in the wiki and the forum:
Stefan2 wrote: 2020-07-22, 05:57 UTC With TC you can create your own Search criteria.
Save the search criteria:
Use the search criteria:
Work with the search result:
The saved search you can use in
You can open the saved search settings from an button
You can open the saved search settings from an keyboard shortcut


NOTE: that will open the search dialog, you can inspect the settings again and next click the [Start] button.
UPDATE 2020: Launch and immediately start to search

Change Search default settings:
Now assign a keyboard shortcut
Search result show only name and ext.
How-to to use 'Ctrl+F' -keys to launch the Find Files-dialog:
https://ghisler.ch/board/viewtopic.php?p=390483#p390483
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LOADSEARCH and Everything do not autorun for me

Post by *ghisler(Author) »

Gral wrote: 2024-04-02, 12:23 UTCWhat's new in this version? -> New functions and fixes in Total Commander 10.00: -> Internal commands:
This one describes the two equal signs:
10. LOADSEARCH saved_search_name opens search function with saved search. An equal sign "=" in front of the name will start the search immediately, two equal signs will show the results directly in Total Commander.
Author of Total Commander
https://www.ghisler.com
Post Reply