Re: Determine if a filename exists in a LARGE folder
Re: Determine if a filename exists in a LARGE folder
- Subject: Re: Determine if a filename exists in a LARGE folder
- From: JollyRoger <email@hidden>
- Date: Wed, 13 Jun 2001 18:20:33 -0500
On 6/13/2001 11:41 AM, "Matthew Broms" <email@hidden> wrote:
>
I have a bit of a unique problem. I have a script that processes a large
>
batch of post cards that go out to customers. Each post card has a space
>
for a signature. This signature is a graphic that either is or is not on
>
file in a folder.
-- uses FindFile OSAX <
http://MicrocosmSoftware.com/findfileosax.html>
set folderPath to "Mac HD:My Test Folder:"
set foundFiles to FindFile in_folder folderPath name_contains "xyz" with
subfolders
return foundFiles is not equal to {}
-- took under 3 seconds for 5000 items