Can someone lend me a handler?
Can someone lend me a handler?
- Subject: Can someone lend me a handler?
- From: "Wallace, William" <email@hidden>
- Date: Thu, 8 Jan 2004 12:06:06 -0600
- Thread-topic: applescript-users digest, Vol 3 #2315 - 14 msgs
I've seen recursion discussed on this list before, so I did some poking around in the archives but I can't seem to find exactly what I need with respect to this topic. I've seen lots of stuff about burrowing through nested folders and creating a list of files that meet some criteria, but what I need is a plain vanilla Applescript handler that you pass a folder and a string to, the handler searches that folder recursively for a file name that matches the passed string. As soon as it finds a match, it breaks and returns a reference to the file whose name matches the string. I know it seems like I should be able to sort this out based on the code I've seen, but I can't seem to get my hands around this one. I'm also interested in squeezing the fastest possible performance out of this handler.
Anybody, got something handy they can just paste into a reply?
B!ll
PS - sorry about all the puns
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.