Page 1 of 1

What was not found in a search

Posted: 19 Apr 2022 18:57
by hermhart
Sometimes I will perform a search of what could be a hundred different delimited filenames. It would be great to be able to optionally get some kind of report that, of all the delimited filenames searched for, which ones of those came up with no match. Then I know what is missing from the results.

Re: What was not found in a search

Posted: 19 Apr 2022 19:35
by highend
You could already achieve that by scripting...

Re: What was not found in a search

Posted: 19 Apr 2022 20:13
by hermhart
Have any good hints on what scripting commands to use to kick me off on the right step?

Re: What was not found in a search

Posted: 19 Apr 2022 20:22
by highend
<get find_queryparsed>;
To get the names you were searching for

listpane()
To get the content of the search pane

The rest is some regex (or a lot of looping) to clean everything up and compare the item list with the content...

Re: What was not found in a search

Posted: 19 Apr 2022 20:26
by hermhart
Thank you.