Re: Question: Setting up a script to watch a folder in OS X?
Re: Question: Setting up a script to watch a folder in OS X?
- Subject: Re: Question: Setting up a script to watch a folder in OS X?
- From: Philip Aker <email@hidden>
- Date: Thu, 20 Jun 2002 12:49:30 -0700
On Thursday, June 20, 2002, at 12:18 PM, Simon Kornblith wrote:
On 6/20/02 4:34 AM, "Sven Ryen" <email@hidden> wrote:
Also, can AppleScript natively parse an XML document, or would
it be simpler
to read in a delimited file?
AFAIK, you'd need the XML Tools scripting addition, which is
available for
Mac OS 9 and Mac OS X. Sort of strange how Apple gives us
excellent XML-RPC
and SOAP capabilities but not the ability to read and write XML
documents.
There's some XML facilities with 'do shell script' and
"defaults". For instance:
do shell script "defaults write ~/Desktop/myprefs foo 'bar'"
creates the "myprefs.plist" file and sets the keyword "foo" to
the string "bar"
mailto:philip@vcn.b
c.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.