Load saved search operation

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
WhACKO
Junior Member
Junior Member
Posts: 67
Joined: 2009-04-07, 11:17 UTC

Load saved search operation

Post by *WhACKO »

I made a button with LOADSEARCH <stored search> and it loads the search parameters, but it doesn't load the saved path, it loads the current path??

I want to make a hotkey (probably with AutoHotkey) which opens a new tab, loads the saved search settings (path) and waits for filename input, any help would be appreciated.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50754
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed LOADSEARCH doesn't currently load the path. This is done because people may have stored the path when saving a search without knowing, e.g. for custom colors, where it is ignored.

To restore a path, you need to combine it with the search string in the "search for" field.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

What if we add second param to LOADSEARCH?

LOADSEARCH <stored search> <search path>

We'll be able to use existing presets and different buttons for searching in differ places.
User avatar
petermad
Power Member
Power Member
Posts: 16082
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

LOADSEARCH <stored search> <search path>
Support++
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I think it would be better to include options which control if the search is stored or not just like in synchronize directories.
Otherwise the current path is used.
Post Reply