APP REQUEST: "File Finder Bulk search for file names only"

Started by JohnZeman, October 10, 2017, 06:17:47 PM

Previous topic - Next topic

JohnZeman

Andy if you're looking for another project some day, I've got one for you.  I really like Mario's default sample File Finder app, especially the File Name Search part of it and the Bulk Match part of it.

But what I would really REALLY like would be a way to make the File Name Search find a list of 1 or more file names instead of just one.  Similar to the way Bulk Match works only using file names only and not the full path.

I'd tackle this myself but this is a busy time of year for me plus to be honest I wouldn't know where to start.

Mario

This should be easy to do. Just that I understand you correctly:

You want to enter a list of file names with extension ("beach.jpg") into the bulk field and then IMatch should find all files with these names, independent from the path?

Please try the attached app version. I have changed it as follows:

If the app detects that the file names entered in the bulk field do not contain \ it searches by filename.extension only. Else it searches the full path.

Tip: Keep a copy of the index.html around. Then you can compare 'diff' it with my version to see the few changes I had to make.
Visual Studio code has a built-in diff tool (see http://dailydotnettips.com/2015/06/04/how-to-compare-files-in-visual-studio-code/) or you use the free WinMerge or something.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

JohnZeman

That is exactly what I was looking for Mario thank you!

When things slow down a little for me I will study the code to see what changes you made to do this.

Thanks again!

Mario

Great. Always improving!

There are 3 changes in the app, nothing serious.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Quote from: Mario on October 10, 2017, 07:28:16 PM
Great. Always improving!

There are 3 changes in the app, nothing serious.

Shucks.. was traveling and missed my chance!  :P

Mario

Quote from: Jingo on October 13, 2017, 07:20:33 PM
Shucks.. was traveling and missed my chance!  :P
Next time. This was really a 10 minute fix and I'm eyebrow-deep in JavaScript currently anyway.
Check out the File Lens RFC threads RFC in the IMA Board to see what I'm working on. Improvements for IMWS too.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Quote from: Mario on October 13, 2017, 07:39:08 PM
Quote from: Jingo on October 13, 2017, 07:20:33 PM
Shucks.. was traveling and missed my chance!  :P
Next time. This was really a 10 minute fix and I'm eyebrow-deep in JavaScript currently anyway.
Check out the File Lens RFC threads RFC in the IMA Board to see what I'm working on. Improvements for IMWS too.

Yes... your 10 minute fix would have been 1/2 a day for me  :)

I have been keeping an eye on all the File Lens RC threads... anxiously await this and think you are right on target with your design choices.