• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question: Setting up a script to watch a folder in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:&#112;&#104;&#105;&#108;&#105;&#112;&#64;&#118;&#99;&#110;&#46;&#98;
&#99;&#46;&#99;&#97;
_______________________________________________
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.

  • Follow-Ups:
    • Re: Question: Setting up a script to watch a folder in OS X?
      • From: Simon Kornblith <email@hidden>
References: 
 >Re: Question: Setting up a script to watch a folder in OS X? (From: Simon Kornblith <email@hidden>)

  • Prev by Date: Re: Question: Setting up a script to watch a folder in OS X?
  • Next by Date: Re: BUG: Where's Application Support?
  • Previous by thread: Re: Question: Setting up a script to watch a folder in OS X?
  • Next by thread: Re: Question: Setting up a script to watch a folder in OS X?
  • Index(es):
    • Date
    • Thread