• 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: "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

  • Follow-Ups:
    • Re: Creating A Property List File
      • From: Luther Fuller <email@hidden>
    • Re: Creating A Property List File
      • From: Luther Fuller <email@hidden>
References: 
 >Creating A Property List File (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Which version of InDesign created a document?
  • Next by Date: Re: How to open application (Preview) at a specific size and location on the screen
  • Previous by thread: Creating A Property List File
  • Next by thread: Re: Creating A Property List File
  • Index(es):
    • Date
    • Thread