Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
laziness, impatience, and hubris
 
PerlMonks  

Re: How to do a blocking readdir or similar

by BorgCopyeditor (Friar)
on Dec 19, 2005 at 03:31 UTC ( #517659=note: print w/ replies, xml ) Need Help??


in reply to How to do a blocking readdir or similar

Which version of OS X? This is probably a job for so-called "Folder Actions" (10.3 Panther and later) which allow you to fire off a script in response to adding files. Then you'll need a bit of AppleScript (using "on adding folder items") that fires off your perl script (using "do shell script"). A good PerlMonks-ish site to look for this sort of thing is http://bbs.applescript.net. Good luck.

BCE
--Your punctuation skills are insufficient!


Comment on Re: How to do a blocking readdir or similar

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2013-05-20 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (408 votes), past polls