[REQ] Persistent Search Results Folder in Tree
Posted: 2006-12-04, 15:03 UTC
(I searched the forum, but did not find a topic similar to this)
In B2, when dual trees are displayed and a successful search concludes, "feed to listbox" works properly, but the folder highlighted in the associated tree does not change and is obviously incorrect for the search results now resident in the file list. To redisplay the former file list, currently one clicks the highlighted folder in the associated tree.
That works OK, but my suggestion is:
... after "feed to listbox", add (or update) a persistent folder viewable in both trees called "Search Results" and move the active tree's focus to that folder.
One would then issue cm_GotoPreviousDir to return to the folder active prior to the search.
An extension of this request would be:
Place a flag in the search dialog to "save results to Search Results folder".
If the "save results" flag is set, "feed to listbox" would post the search results list to the "Search Results" folder as a subfolder, identified/named by either date/time or search criteria or saved search name. Then, one could (at any time thereafter) use the tree to navigate to a former search result, causing a redisplay (in the file list) of the results, or a re-execution of the search (depending on implementation).
The search results file lists would be stored in INI-like files placed in a user-defined location. The content of the search results file would be a list of the files found during the most recent search, plus a definition of the search, and a flag to indicate whether to re-execute the search or just display the former result in the file list.
An issue: how/whether to save a result if very large numbers of files are found.
In B2, when dual trees are displayed and a successful search concludes, "feed to listbox" works properly, but the folder highlighted in the associated tree does not change and is obviously incorrect for the search results now resident in the file list. To redisplay the former file list, currently one clicks the highlighted folder in the associated tree.
That works OK, but my suggestion is:
... after "feed to listbox", add (or update) a persistent folder viewable in both trees called "Search Results" and move the active tree's focus to that folder.
One would then issue cm_GotoPreviousDir to return to the folder active prior to the search.
An extension of this request would be:
Place a flag in the search dialog to "save results to Search Results folder".
If the "save results" flag is set, "feed to listbox" would post the search results list to the "Search Results" folder as a subfolder, identified/named by either date/time or search criteria or saved search name. Then, one could (at any time thereafter) use the tree to navigate to a former search result, causing a redisplay (in the file list) of the results, or a re-execution of the search (depending on implementation).
The search results file lists would be stored in INI-like files placed in a user-defined location. The content of the search results file would be a list of the files found during the most recent search, plus a definition of the search, and a flag to indicate whether to re-execute the search or just display the former result in the file list.
An issue: how/whether to save a result if very large numbers of files are found.