Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: How to do a blocking readdir or similar

by brian_d_foy (Abbot)
on Dec 19, 2005 at 13:26 UTC ( [id://517710]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://517710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-18 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found