Clicky

Houdah Software Forums
Register Latest Topics
 
 
 


Reply
  Author   Comment  
rick260

Registered:
Posts: 22
 #1 
I am testing the trial version  of HoudahSpot.

Is it possible to search for a list of file names in a series?

example: 1984261 1952178 1952832 1955422 1958612 1959876 1963063 1963365 1966860 1970519 1971416 1971896 1972431

My initial tests makes it appear that it can't.

Thank you in advance R
0
houdah

Moderator
Registered:
Posts: 2,960
 #2 
Hi!

There is no way to directly specify a list of names to search for.

You could set up a search with an “Any of the following are true” group that has a row for each name you want to match.

You can also try this approach to find the files one by one: https://blog.houdah.com/2016/06/find-files-from-a-list-of-names/

Best,

Pierre Bernard
Houdah Software s.à r.l.


__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
rick260

Registered:
Posts: 22
 #3 
is HoudahSpot scriptable??
0
houdah

Moderator
Registered:
Posts: 2,960
 #4 
Yes, HoudahSpot is scriptable. But not to the point of being able to add or configure search criteria.

You can however pass it a “query” for the main search field. Check “Chapter 7. Automate HoudahSpot” in the user guide to see how you can do this using Apple Script.

“Chapter 8.2. Advanced Uses of the Search Field” explains how you can use the search field.

E.g. you could say “filename:1984261.* or filename:1952178.* …”

Best,

Pierre Bernard
Houdah Software s.à r.l.



__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
rick260

Registered:
Posts: 22
 #5 
HoudahSpot is a great product. It is very fast.

However, it can't search a list of names it will not meet our needs.

Finding the file one by one is too cumbersome. (re: blog link)

I am trying to think of a way that HoudahSpot could search names from a list?

Perhaps a droplet? Drag the text list to the droplet and it would "feed" HoudahSpot one entry at a time. One entry>Return Result>Go to next entry.

on open dropped items
repeat with aFile in dropped items
tell application "HodahSpot"
etc etc


...........


i still don't understand why the program won't return a result for ex: 1952834 1955420 1958639? if this is entered into the search field why wouldn't return ALL of the documents with those number sequences in the file name?
0
houdah

Moderator
Registered:
Posts: 2,960
 #6 
Thank you for the feedback.

Your example would search for files that match all 3 numbers.

Try this in the search field:

search:filename 1952834 OR 1955420 OR 1958639

This has HoudahSpot search for file names that contain any of the 3 numbers.

Best,

Pierre Bernard
Houdah Software s.à r.l.


__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
rick260

Registered:
Posts: 22
 #7 
that does work!

now i have to figure out how to take a list and add "or" after entry on the list [frown]

our current workflow involves capturing text list from a PDF and importing it into the search field of the search software

our current software excepts a text file list, without modification, but it is slow.
0
houdah

Moderator
Registered:
Posts: 2,960
 #8 
I am no expert on Apple Script. Google pointed me at an post on Apple’s discussion board that appears very promising: https://discussions.apple.com/thread/3678943?tstart=0

On Stack Overflow I saw a rather smart way of concatenating strings: https://stackoverflow.com/questions/6301156/append-text-to-a-string-in-applescript

I’d assume you can use “ OR “ as a delimiter.

__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
Liquefied

Registered:
Posts: 4
 #9 
Hi,

I hope it's okay to hijack this thread since I'm using HoudahSpot for an almost identical workflow.

I'm searching multiple filenames at once using the "OR" operator. My query looks like this: search:filenames example_1 OR example_2 OR example_3

This works fine on my local machine to bring up all the results I want.

The problem I'm having is when I go to search a server on our network I'm only getting results for the first filename. HoudaSpot seems to quit searching as soon as it finds results for the first filename. Is this a limitation of the app or of our server possibly?


p.s. in case rick260 is still looking at this, an easy way to add the "OR" entry to your lists is to copy your list into an excel doc, then populate the column next to it with OR all the way down. Save that doc as a .csv then open it in a text editor and use find/replace to remove any extra spaces or commas that you don't need. Then copy that list into HoudahSpot.

0
rick260

Registered:
Posts: 22
 #10 
my workflow: i receive a file list in PDF format and i open that file in acrobat. i have acrobat set up to export the PDF as TEXT to a folder on my desktop. the folder has a folder action script attached to it.

when the folder receives the text file from acrobat it processes the text file i.e. strips out specific data and adds the "OR"s between file names. the script then takes that result and drops it into the houdahspot search field.


Liquefied: is your houdahspot "limit" set to "no limit"? (i am guessing it is because you say you have no issue searching locally)

if you are using a mac when is the last time you indexed the network volume?? if you are connecting SMB to a windows volume - i found that i had to index said volume at least once a week (indexed via terminal command).





0
houdah

Moderator
Registered:
Posts: 2,960
 #11 
Hi!

You have a typo in your search. It says "search:filenames" instead of "search:filename". You have an extra "s" at the end.
Though I am not sure how that would explain the results you are seeing.

Behavior for the server should not be any different. Though there are many caveat when searching shared drives:
Server indexing is not always enabled on some installations of Sierra and High Sierra.
- Server indexing may not work or work only partially depending on the server / NAS software and the file protocol. E.g. Spotlight may not notice when files are added or modified. That could explain why you find some files, but not others.

Best,
Pierre Bernard


__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
Liquefied

Registered:
Posts: 4
 #12 
Thanks for the replies!

Disregard the typo of filename(s) in my post. My actual search did not have the 's'.

I did find a fix for my issue though. I was trying to limit the search to only 5-6 different file extensions and that seems to introduce some kind of hiccup. So I changed my Refine rules to 'Any of the following are true:" with no other rules and it's able to find all of my files so far. Maybe I'm just not understanding the Refine rules properly yet.

I am using a Mac connected to a windows volume over afp or smb (still testing to see if it makes a difference which one I use). So indexing seems to be working right now but I will connect with my server admin if that becomes an issue.
0
Liquefied

Registered:
Posts: 4
 #13 
Also, rick206, I appreciate the description of your workflow. Scripting is a little outside my expertise at the moment but maybe I can find someone to write something like that for me.
0
houdah

Moderator
Registered:
Posts: 2,960
 #14 
Please try to find an example of a simple search that does not produce the results you expect. Then select Window > Raw Query, copy the text and post it here. If possible, email a screenshot of your search to support at houdah dot com.
__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
rick260

Registered:
Posts: 22
 #15 
unfortunately my folder action script works only with a very specific text format.

i am willing to share a text file and the script if anyone wanted to see how it works but again its setup specifically for my workflow
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.