• 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 Plists / How is the <data> value generated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Plists / How is the <data> value generated?


  • Subject: Re: Creating Plists / How is the <data> value generated?
  • From: Steve Christensen <email@hidden>
  • Date: Sun, 16 Sep 2007 17:25:49 -0700

On Sep 15, 2007, at 4:01 PM, Shawn Erickson wrote:

On 9/15/07, aaron smith <email@hidden> wrote:

I'm looking for what is used to generate the <data> values in plist's. For
example. if you check "Open with rosetta" from an Application's "get info".
It puts an entry in com.apple.LaunchServices.plist under
LSPrefsFatApplications. What is it putting in the <data> field?


[snip]

So I need some help figuring out what else is a factor when these data
values are first created.


I've also been having a hunch that possibly the data is the contents of an
alias record or AliasHandle?


Any ideas would be awesome!!!!!

Likely it is an AliasHandle.

<http://developer.apple.com/qa/qa2004/qa1350.html>
<http://www.cocoabuilder.com/archive/message/cocoa/2003/4/21/77658>

Given that it's a private plist, it might contain anything, including a combination of an alias and something else. The better answer is that it's dangerous to go playing in others' plists - particularly in data blobs - since they can change on a whim. Depending on what he actually wants to do, there may be a more supported method for getting there than hacking a plist.


steve

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Creating Plists / How is the <data> value generated? (From: "aaron smith" <email@hidden>)
 >Re: Creating Plists / How is the <data> value generated? (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: NSMessagePort/NSSocketPort & Distributed Objects
  • Next by Date: Re: Key Check at Startup
  • Previous by thread: Re: Creating Plists / How is the <data> value generated?
  • Next by thread: can reverse page order printing be done programmatically?
  • Index(es):
    • Date
    • Thread