• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can someone lend me a handler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Full Screen in QuickTime Player
  • Next by Date: Lend a handler addendum
  • Previous by thread: Subject: Re: Photoshop 7.0 Save As Problems
  • Next by thread: Re: Can someone lend me a handler?
  • Index(es):
    • Date
    • Thread