Re: How to add new property list item into a property list file.
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