Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: multicart on November 29, 2024, 13:48:44

Title: immediate searching with saved parameters (not using the F keys)
Post by: multicart on November 29, 2024, 13:48:44
Hi,

I saw that I can save a search (F3) and even put it on the F keys in order to quickly search with the saved parameters again.
However, I rather would like to have a quick list of my saved searches that I can quickly choose from, so that with one (or max two) click(s) the chosen search is executed.

I also found the custom command MC.FileSearch (http://multicommander.com/Docs/customcommands_list#mc.filesearch.search). This is nice too. But it seems to only open the search UI dialog with predefined parameters.
(Besides, the values for PANEL: LEFT, RIGHT, ACTIVE, INACTIVE I do not see them reflected in the search UI dialog.)

I am just wondering, is there no way to just load and run a saved search (predefined parameters) via some form of user defined command without the UI dialog (without using the F keys)?

What would make sense to me is, if the MC.FileSearch custom command would have an option to run a saved search (saved previously via the search dialog) immediately without the dialog.

regards, m.
Title: Re: immediate searching with saved parameters
Post by: Jungle on November 29, 2024, 13:49:36
You can create some UDC with desired search params, and then put it to the user menu or on the QL bar.
MC.FileSearch supports HIDE and AUTOSTART parameters
Title: Re: immediate searching with saved parameters (not using the F keys)
Post by: multicart on November 29, 2024, 13:56:07
Ah, ok, great.
It is an advantage if one can read, which obviously I can't. Sorry for that.

Still, why the redundancy with being able to define search parameters in the custom command and in a saved search via the UI dialog?


AND, BTW:
I had problems with defining multiple search paths in the MC.FileSearch custom command's options. What is the correct syntax for that?
Title: Re: immediate searching with saved parameters (not using the F keys)
Post by: Jungle on November 29, 2024, 14:05:09
I had problems with defining multiple search paths in the MC.FileSearch custom command's options. What is the correct syntax for that?

Code: [Select]
MC.FileSearch.Search SEARCHFOR=*.txt AUTOSTART HIDE SEARCHIN="c:\temp\22";"c:\temp\33"
Title: Re: immediate searching with saved parameters (not using the F keys)
Post by: multicart on November 29, 2024, 14:15:09
Thank you for your patient help, Jungle,

Unfortunately, with that syntax, MC will only search in the first stated path.


And the PANEL="LEFT" option of MC.FileSearch does not seem to work.
Title: Re: immediate searching with saved parameters (not using the F keys)
Post by: Mathias (Author) on November 29, 2024, 14:42:47
Thank you for your patient help, Jungle,

Unfortunately, with that syntax, MC will only search in the first stated path.


And the PANEL="LEFT" option of MC.FileSearch does not seem to work.

You need to have the complete paths inside the quotes.. not quotes around each, they are separated with ;
Code: [Select]
SEARCHIN="c:\temp\22;c:\temp\33"
Title: Re: immediate searching with saved parameters (not using the F keys)
Post by: multicart on December 01, 2024, 19:20:36
You need to have the complete paths inside the quotes.. not quotes around each, they are separated with ;
Code: [Select]
SEARCHIN="c:\temp\22;c:\temp\33"
nope, does not work

And the PANEL="LEFT" option of MC.FileSearch still does not seem to work. Or does it work for anyone?
Title: Re: immediate searching with saved parameters (not using the F keys)
Post by: Mathias (Author) on December 02, 2024, 09:31:29
Since Search was redone a while again. the PANEL option is no longer valid. It should have been removed.