What about using "Folder Actions" (AppleScript) to call your direct action? Or maybe even better have the AppleScript call a web service to notify your application.

There is an example script that calls a web service located in:
/Developer/Examples/Web\ Services/AppleScript/soap.sh

Rather than embedding the AppleScript in a shell script, just convert it to a "Folder Action."

On Mar 8, 2006, at 9:40 AM, Arturo Perez wrote:

Mike Schrag wrote:
We had a similar requirement (though with nested subfolders). If you just have a flat folder to watch (i.e. not subfolders), on OS X you can use KQueue's to notify you

I think on Tiger you can use launchd to do this as well. Dunno if it's better or worse than kqueue.

-arturo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/robertwalker1% 40mac.com

This email sent to [EMAIL PROTECTED]

Robert Walker
[EMAIL PROTECTED]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to