Batch queries in Spotlight search

I’m new to action script so I’m not sure if what I would like to do is possible. I’ve searched the forums for a while and tried mfind but I haven’t made progress.

I would like to create a list of client e-mail addresses and run them through spotlight to receive a list of results relating to any of those addresses. As an example I might list 500 email addresses and the script would return all files that contain the text of any of these. There might be 1,000 results.

I would be very grateful for any advice on this.


AppleScript: 2.3
Browser: Safari 533.19.4
Operating System: Mac OS X (10.6)