Syntactic Confectionery Delight | |
PerlMonks |
Re^2: How to do a blocking readdir or similarby brian_d_foy (Abbot) |
on Dec 19, 2005 at 13:26 UTC ( [id://517710]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|