Hotkey for to use a saved search in Find Files window
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 4
- Joined: 2022-08-12, 13:04 UTC
Hotkey for to use a saved search in Find Files window
Hello everyone,
I use the Find Files feature a lot with some predefined search settings (certain directories etc).
I have this setting saved in the 'Find files' dialog, but I wonder... Is it possible to create a taskbar button or a hotkey that would trigger search with these settings loaded? Possibly with the 'Find text' textbox focused, so that I can just start typing...?
Currently I need to open the Find Files dialog, click on the Load/Save tab, pick proper one and then enter the search phrase.
Kindest regards,
Bartosz
I use the Find Files feature a lot with some predefined search settings (certain directories etc).
I have this setting saved in the 'Find files' dialog, but I wonder... Is it possible to create a taskbar button or a hotkey that would trigger search with these settings loaded? Possibly with the 'Find text' textbox focused, so that I can just start typing...?
Currently I need to open the Find Files dialog, click on the Load/Save tab, pick proper one and then enter the search phrase.
Kindest regards,
Bartosz
Re: Hotkey for a saved search in Find Files window
Search the help for "LOADSEARCH". Does that help?
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Hotkey for a saved search in Find Files window
LOADSEARCH=saved search name
on a button will start the search immediately.
To use this with a hotkey, you would have to define a new em_xyz command yourself via Configuration - Options - Misc - Choosing a hotkey - Magnifying glass - Category: Usercmd.ini - New...
on a button will start the search immediately.
To use this with a hotkey, you would have to define a new em_xyz command yourself via Configuration - Options - Misc - Choosing a hotkey - Magnifying glass - Category: Usercmd.ini - New...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 4
- Joined: 2022-08-12, 13:04 UTC
Re: Hotkey for a saved search in Find Files window
Thank you very much - but is there a way that a search does not start automatically, but rather allow me to enter the text that I am looking for?
I am finding files that contain text (different texts each time) so starting up a previous search is just wasteful
I am finding files that contain text (different texts each time) so starting up a previous search is just wasteful

Re: Hotkey for a saved search in Find Files window
ghisler(Author) wrote: 2022-08-14, 07:10 UTC LOADSEARCH=saved search name
on a button will start the search immediately.
bartosz.jarmuz wrote: 2022-08-16, 10:13 UTC Thank you very much - but is there a way that a search does not start automatically, but rather allow me to enter the text that I am looking for?
I am finding files that contain text (different texts each time) so starting up a previous search is just wasteful![]()
Yes, sorry.
Open the Find Files dialog with your stored settings:
Command: LOADSEARCH saved search name
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
-
- Junior Member
- Posts: 4
- Joined: 2022-08-12, 13:04 UTC
Re: Hotkey for to use a saved search in Find Files window
Thanks a lot - Total Commander never stops to amaze me.
I had a look into the wiki, but I don't see the answer - is there a way to focus the 'Find Text' box when the LOADSEARCH command is executed?
Or alternatively, a hotkey to quickly focus on that box, because it's quite a few Tabs to get there...
I had a look into the wiki, but I don't see the answer - is there a way to focus the 'Find Text' box when the LOADSEARCH command is executed?
Or alternatively, a hotkey to quickly focus on that box, because it's quite a few Tabs to get there...
Re: Hotkey for to use a saved search in Find Files window
No, you would need something like a AHK-script for that.is there a way to focus the 'Find Text' box when the LOADSEARCH command is executed?
Or alternatively, a hotkey to quickly focus on that box, because it's quite a few Tabs to get there...
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Hotkey for to use a saved search in Find Files window
Alt+T for the English language.bartosz.jarmuz wrote: 2022-08-16, 13:12 UTC I had a look into the wiki, but I don't see the answer - is there a way to focus the 'Find Text' box when the LOADSEARCH command is executed?
Or alternatively, a hotkey to quickly focus on that box, because it's quite a few Tabs to get there...
Re: Hotkey for to use a saved search in Find Files window
See the letters with an underscore, this you can use to reach the components by pressing "Alt key + that letter" together.
For the 'Find text'-box it is Alt+t on English TC-language setting, other TC-languages may have other letters underlined (or none at all).
HTH?
For the 'Find text'-box it is Alt+t on English TC-language setting, other TC-languages may have other letters underlined (or none at all).
HTH?

Re: Hotkey for to use a saved search in Find Files window
Just checked the 50 available languages - the only two languages that without a hotkey for "Find text" is Indonesian and Latvian.other TC-languages may have other letters underlined (or none at all).
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Hotkey for to use a saved search in Find Files window
Great.petermad wrote: 2022-08-16, 14:12 UTCJust checked the 50 available languages - the only two languages that without a hotkey for "Find text" is Indonesian and Latvian.other TC-languages may have other letters underlined (or none at all).
But I guess it is not always a t as hotkey for "Find text" ?
Re: Hotkey for to use a saved search in Find Files window
No that is only in 17 languagesBut I guess it is not always a t as hotkey for "Find text" ?

[OT]My own language has had a hotkey since version 1.50 (only 4 languages was supported back then): https://madsenworld.dk/tcmd/findfilestc15dan.png
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 4
- Joined: 2022-08-12, 13:04 UTC
Re: Hotkey for to use a saved search in Find Files window
That is good enough, thanks a million, guys!
And yeah, AHK script might help even more
And yeah, AHK script might help even more
