• 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: Creating A Property List File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Creating A Property List File
      • From: Skeeve <email@hidden>
    • Re: Creating A Property List File
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Re: Creating A Property List File (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Re: 10.4.9 versus 10.4.10
  • Next by Date: Re: Toxic Soup and Enough for all
  • Previous by thread: Re: Creating A Property List File
  • Next by thread: Re: Creating A Property List File
  • Index(es):
    • Date
    • Thread