Go Back   The macosxhints Forums > Working with OS X > OS X Developer



 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 09-27-2007, 08:41 AM   #1
Andreika
Prospect
 
Join Date: Feb 2007
Posts: 27
Read plist from Carbon

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 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

Last edited by Andreika; 09-27-2007 at 02:59 PM.
Andreika is offline   Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.