• 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: plist data type 'data'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plist data type 'data'


  • Subject: Re: plist data type 'data'
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 09 Oct 2013 12:53:53 +1100

On 9 Oct 2013, at 6:35 AM, Stan Cleveland <email@hidden> wrote:

> It's used for storing the raw bytes of binary objects, such as images.

While that's true, in the context of property lists it is more often used to store Cocoa objects -- things like colors, fonts and NSURLs. So the process generally involves archiving information about the object in an encoded hierarchy, and then storing the resulting encoded object as data. In such cases getting something useful from the data is a matter of reversing the encoding. That's not something raw AppleScript is really up to, but it's reasonably straight-forward in AppleScriptObjC.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


References: 
 >plist data type 'data' (From: Luther Fuller <email@hidden>)
 >Re: plist data type 'data' (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Creating a script from within a script and running it
  • Next by Date: What happened to Contacts? It will no longer launch!
  • Previous by thread: Re: plist data type 'data'
  • Next by thread: What happened to Contacts? It will no longer launch!
  • Index(es):
    • Date
    • Thread