• 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
How to add new property list item into a property list file.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to add new property list item into a property list file.


  • Subject: How to add new property list item into a property list file.
  • From: Tetsuro KURITA <email@hidden>
  • Date: Mon, 4 Sep 2006 09:39:44 +0900

I was trying to add a new property list item into a property list file using
Property List Suite of System Event. The code is as follows.

tell application "System Events"
    set thePlistFile to property list file thePath
    make new property list item at end of contents of targetPlistFile with properties {value:"theValue", name :"theName"}
end tell

No error happen, but no new entry is not created in the plist file. How to
add new entry into a property list file ?

=======================================================
 Tetsuro KURITA
  E-mail: email@hidden
=======================================================

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to add new property list item into a property list file.
      • From: Gnarlodious <email@hidden>
    • Re: How to add new property list item into a property list file.
      • From: Emmanuel <email@hidden>
    • Re: How to add new property list item into a property list file.
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: Changing Quark
  • Next by Date: Re: How to add new property list item into a property list file.
  • Previous by thread: Re: Changing Quark
  • Next by thread: Re: How to add new property list item into a property list file.
  • Index(es):
    • Date
    • Thread