in reply to Re: How to do a blocking readdir or similar
in thread How to do a blocking readdir or similar

I describe the Mac side of the process in Automatically Import Images into iPhoto. To launch a Perl script, just call it from the AppleScript that the folder action wants.

It sounds like the poster will have an annoying little synchronization problem though: the AppleScript creates a semaphore somehow, and the sleeping, blocking script has to check for that. Perhaps the two scripts could talk to each other in some other way, though.

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review
  • Comment on Re^2: How to do a blocking readdir or similar