From: Matthew Moss Date: 2008-12-11T23:26:58+09:00 Subject: Re: Folder actions On Dec 11, 2008, at 3:48 AM, Luc Heinrich wrote: > On 11 déc. 08, at 01:20, Einar Magnús Boson wrote: > >> I need to have a script run every time a file is added to a folder >> on OS X, I have found out that this can be done with applescript >> but I can't for the life of me figure out how to write anything >> that works in that language. > > What you want is launchd. Googling for 'launchd WatchPaths' will > give you a bunch of tutorials and more about launching whatever you > want on folder modifications. A bit more hardcore, but infinitely > more flexible. And it's not AppleScript ;) Very cool, I like. Yes, much better than my AppleScript hack.