File Finder App addition: List unfound files

Started by ubacher, June 23, 2024, 10:35:46 AM

Previous topic - Next topic

ubacher

This is more a suggestion for an additional feature - from a situation I encountered recently and
for which I did not find an easy work-around.

I had a fairly long list of file names which I put into the File Finder App.
What I was interested in was which files did it not find!

The only work-around I thought of was to create a list of found files and then search for the difference
between the files.

If it easy to implement then a List files not found button.

Jingo

I was thinking about this a bit and reviewing the File Finder App code.  So, if you are running the app and searching against the Active File Window - you could modify the app to simply provide a list of all ids in the file window that are not a part of the "matches" returned from the search.. super easy!   If you are running the app and searching against the entire database, then you would need additional code to generate the complete ID list first.  

Interestingly enough, the IMatch.fileWindowFilterUpdate function appears to just append over any current filters and can be updated or deleted through an individual app ID... NEAT!  Unfortunately, the Filter Panel doesn't know about the applied Filter so you cannot do things like Reverse it to get the list.

Probably easier in the long run to create a custom App that just does what you want..  8)

ubacher

I have to explain better: If I am searching (via File Finder) for files A to Z and it does not find files B, H, K, and Y
then I want these file names listed.

So a button "List unfound files" would list B, H, K an Y.

thrinn

Quote from: ubacher on June 25, 2024, 09:53:03 AMI have to explain better: If I am searching (via File Finder) for files A to Z and it does not find files B, H, K, and Y
then I want these file names listed.

So a button "List unfound files" would list B, H, K an Y.
This feature request would not work too well with all of the search options in the File Finder App. I think it would make sense for "Bulk Match" and "Find File by Oid", because you enter a finite list of filenames or OIDs. Maybe also for "Digit Match".

But the "File Name Search" option allows for regular expressions which means that the search scope might be the whole database. Assume you enter a pattern which matches only 10 files in your DB, "List unfound files" would have to list nearly all files in your DB (if you selected "Search in entire database").

Too avoid this kind of issues, this functionality should be only available if "Search in active File Window" is selected.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

I think @ubacher only wants this for the bulk match, where he supplies a list of file names and wants an easy way to see which of the provided file names don't have a match.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Quote from: Mario on June 25, 2024, 01:42:39 PMI think @ubacher only wants this for the bulk match, where he supplies a list of file names and wants an easy way to see which of the provided file names don't have a match.
OHH... I missed that option!

Mario

I have implemented this for the next release.

Image1.jpg

This new option produces a handy list of file names without matches in the Windows clipboard.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook