Re: Preferences file in Tiger
Re: Preferences file in Tiger
- Subject: Re: Preferences file in Tiger
- From: Lee Morgan <email@hidden>
- Date: Mon, 2 May 2005 01:39:24 -0400
I believe that starting in Tiger the default format for preferences
has switched from XML to binary.
Just my best guess though.
I suggest using the shell command "defaults" to add / remove / change
keys in preference files (or any plist for that matter).
It's how I edit other app's prefs (such as the Dock), and it works
fine in Tiger.
- lee
On May 1, 2005, at 4:50 AM, Pradeep Kumar wrote:
Hi
The preferences file (files in ~/Library/Preferences) are in a very
cryptic format when opened in
TextEdit. In Panther and below, the file was a normal xml file. But
now this file can be read
only in Property List Editor. What has actually happeneded?
I have this code that removes an item from the dock and quits it so
that the changes are
immediately reflected. This worked fine till Panther. But in Tiger
it stopped working. However
running it multiple times will eventually remove the item from the
Dock. I have tried various
calls like CFPreferencesAppSynchronize etc, but no avail. Has
anyone faced this problem yet.
What's the solution for this?
Exactly what has changed in the preferences file? Is it safe to
read the com.apple.dock.plist file
and then make modifications and write it back?
Thanks
Prady
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden