Re: Starting a direct Action when a file is put into the file system
Re: Starting a direct Action when a file is put into the file system
- Subject: Re: Starting a direct Action when a file is put into the file system
- From: Robert Walker <email@hidden>
- Date: Wed, 8 Mar 2006 14:24:34 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
Robert Walker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden