Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I read pref files for other Apps



Well it is not my Quoting style. Mail seems to be doing this for some reason. I have no idea why.

Well I have no idea if the Pref file is maintained by CFPreferences. The thing is the Pref file is created by the installer, they put the SN and other info in there and then, I don;t think they do anything else with it. The apps that it installs are supposed to check to see if the package was installed. to do that we need to check for the SN.

I would love to do this with other Core foundation API's, but I don't know how. That is why I posted this message. I need to look for a key and then i need to save that value off into my own preference file.

Thanks,
Scott Mitchell


>On Wednesday, May 14, 2003, at 05:51 PM, Laurence Harris wrote:
>
>Okay, this is a little hard to follow since you're quoting style is, well,
>non-existent. But, if this is a prefs file created and maintained by
>CFPreferences, then you should be able to use the identifier used to create
>it to access it. If for some reason that's not possible, but you can locate
>the file, you can read it yourself and use other Core Foundation APIs to
>parse it and look for the key, or do you just need to verify the existence
>of something in the file you locate with a simple search?
>
>
>Larry
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.