Re: Creating A Property List File
Re: Creating A Property List File
- Subject: Re: Creating A Property List File
- From: Luther Fuller <email@hidden>
- Date: Tue, 18 Mar 2008 19:02:50 -0500
On Mar 18, 2008, at 6:04 PM, Gary (Lists) wrote:
"Luther Fuller" wrote:
There has been some discussion, in various threads, during the past
couple of months concerning the creation of a new property list file.
I usually do this by copying a default .plist file, but today I
needed to create one where there was no file to copy. Here's a
handler to to the job, or at least start you towards a variation on a
theme.
Wow. That seems long.
Get the XMLLib.osax (from the maker's of Smile), and use this instead:
set p_ to PlistNew
set px_ to PlistGetXML p_
That's much nicer, eh?
I haven't used an osax in years. (Many!) I can usually work-around
with AppleScript or a command that is a standard install on anyone's
Mac. I don't have to get permission to install an osax into my appl
or explain to anyone that they have to download and install
something. And the user never knows the difference!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden