Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Dec 15, 2018 1:56 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Loading, changing and saving binary-plist (bplist00)
PostPosted: Mon Nov 12, 2012 4:47 pm 
Offline

Joined: Mon Oct 09, 2006 9:05 am
Posts: 145
Does anyone have experiences with binary-plist-files e.g. like Apple's com.apple.Preview.plist or has a sample project for it.

I would like to open bplist00-files, change them and save them again.

Any solution without plug-Ins is welcome.


Thx in adv.

_________________
Working system: Mac OS X 10.6.x
_________________________________
Note : I am not interested in any solutions that need custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
 Post subject: Re: Loading, changing and saving binary-plist (bplist00)
PostPosted: Mon Nov 12, 2012 8:55 pm 
Offline
User avatar

Joined: Fri Sep 30, 2005 11:00 am
Posts: 583
Location: Beautiful Taiwan
You need to deal with Core Foundation and have an idea of what the plist file contains. If you don't want to purchase the MBS plugin and don't want to write a bucket load of code, then you should look at the MacOSLib project.

_________________
Sam Rowlands
rMBP 15" @ 10.8 & '08 MBA 13" @ 10.6 + 10.7, RB2012
http://www.ohanaware.com/
AppWrapper - Prepare Apps for Mac App Store & OS X 10.8 - http://www.ohanaware.com/appwrapper/


Top
 Profile  
Reply with quote  
 Post subject: Re: Loading, changing and saving binary-plist (bplist00)
PostPosted: Tue Nov 13, 2012 7:36 am 
Offline

Joined: Mon Oct 09, 2006 9:05 am
Posts: 145
Thank you, rowlands for your tip.

I found another way to convert it.

jakuno wrote:
Convert *.plist with: https://developer.apple.com/library/mac ... til.1.html and RealBasic Shell Class

For my purpose, plutil is an excellent way to convert bplist to xml.

_________________
Working system: Mac OS X 10.6.x
_________________________________
Note : I am not interested in any solutions that need custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
 Post subject: Re: Loading, changing and saving binary-plist (bplist00)
PostPosted: Tue Nov 13, 2012 1:04 pm 
Offline

Joined: Wed Feb 04, 2009 1:43 pm
Posts: 427
You also could use the shell class to call some terminal commands doing this.

EDIT: oeps ... you already know this. :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Loading, changing and saving binary-plist (bplist00)
PostPosted: Sun Nov 18, 2012 3:28 pm 
Offline

Joined: Mon Oct 09, 2006 9:05 am
Posts: 145
atarikid wrote:
You also could use the shell class to call some terminal commands doing this.

EDIT: oeps ... you already know this. :)


Hehehe :D

Thx anyway.

_________________
Working system: Mac OS X 10.6.x
_________________________________
Note : I am not interested in any solutions that need custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group