Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / September 2007



Tip: Looking for answers? Try searching our database.

Read plist from Carbon

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrei Korostelev - 27 Sep 2007 13:45 GMT
Hi folks,

Is it a way to read a plist file from the Carbon app, that is using
Carbon API and maybe lower-level API, but not Cocoa API?

To be specific I need to know the default browser. I det retrieve this
info from ~/Library/com.apple.LaunchServices.plist file. The problem
is that this file is in a binary format, not in xml.

What I can think of now is to convert this file to xml format with
'plutil' utility and then parse, however such a solution looks rather
clumsy to me. Any hints?

Mac OS X 10.4
Jolly Roger - 27 Sep 2007 18:55 GMT
> Hi folks,
>
[quoted text clipped - 8 lines]
> 'plutil' utility and then parse, however such a solution looks rather
> clumsy to me. Any hints?

Would CFPreferences not work for this?:

    <http://tinyurl.com/29tjzr>

Signature

Please let me know if you send email to this address so that I can be
sure your email doesn't get eaten by pobox.com's ultra-aggressive SPAM
filter.

Help improve usenet. Kill-file Google Groups:
http://improve-usenet.org/

JR

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.