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