Re: Creating A Property List File
Re: Creating A Property List File
- Subject: Re: Creating A Property List File
- From: "Gary (Lists)" <email@hidden>
- Date: Tue, 18 Mar 2008 19:04:01 -0400
- Thread-topic: Creating A Property List File
"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?
--
Gary
_______________________________________________
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