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

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


  • Subject: Re: How to add new property list item into a property list file.
  • From: Emmanuel <email@hidden>
  • Date: Mon, 4 Sep 2006 10:18:55 +0200

At 9:39 AM +0900 9/4/06, Tetsuro KURITA wrote:

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 ?

In case it's just because you don't know, we make a free osax (XMLLib.osax) which provides yet another set of commands for p-lists. XMLLib.osax is used in industrial applications, so it's rather clean and powerful.


Check:
<http://www.satimage-software.com/en/plist_suite.html>

Emmanuel
_______________________________________________
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


References: 
 >How to add new property list item into a property list file. (From: Tetsuro KURITA <email@hidden>)

  • Prev by Date: Re: How to add new property list item into a property list file.
  • Next by Date: Re: Unwrapping mail
  • Previous by thread: Re: How to add new property list item into a property list file.
  • Next by thread: Re: How to add new property list item into a property list file.
  • Index(es):
    • Date
    • Thread