in reply to How to do a blocking readdir or similar
If you're running Tiger, I'd take a look at launchd which can, amongst many other things monitor paths for changes. This would save you from having to wrestle with AppleScript's "quirks", at the cost of having to write Yet Another XML File.
There's some introductory stuff here:
|
|---|