Author Topic: immediate searching with saved parameters (not using the F keys)  (Read 1094 times)

multicart

  • Junior Member
  • **
  • Posts: 49
    • View Profile
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.
« Last Edit: November 29, 2024, 13:53:38 by multicart »

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 550
  • Old Skull
    • View Profile
Re: immediate searching with saved parameters
« Reply #1 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

multicart

  • Junior Member
  • **
  • Posts: 49
    • View Profile
Re: immediate searching with saved parameters (not using the F keys)
« Reply #2 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?
« Last Edit: November 29, 2024, 13:57:58 by multicart »

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 550
  • Old Skull
    • View Profile
Re: immediate searching with saved parameters (not using the F keys)
« Reply #3 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"

multicart

  • Junior Member
  • **
  • Posts: 49
    • View Profile
Re: immediate searching with saved parameters (not using the F keys)
« Reply #4 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.
« Last Edit: November 29, 2024, 14:27:24 by multicart »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4450
    • View Profile
    • Multi Commander
Re: immediate searching with saved parameters (not using the F keys)
« Reply #5 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"

multicart

  • Junior Member
  • **
  • Posts: 49
    • View Profile
Re: immediate searching with saved parameters (not using the F keys)
« Reply #6 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?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4450
    • View Profile
    • Multi Commander
Re: immediate searching with saved parameters (not using the F keys)
« Reply #7 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.