Re: how to reset another app's prefs
Re: how to reset another app's prefs
- Subject: Re: how to reset another app's prefs
- From: Scott Ribe <email@hidden>
- Date: Thu, 20 Nov 2014 15:23:06 -0700
On Nov 20, 2014, at 3:14 PM, Ken Thomases <email@hidden> wrote:
>
> You could use -[NSUserDefaults setPersistentDomain:forName:]. You could also use "defaults import <domain> <path to plist>".
I never knew about that "import" subcommand--thanks for pointing it out.
I suppose I could *try* reading in the dictionary and then using NSUserDefaults, but frankly I've found the whole caching/syncing thing to be buggy lately.
Has anyone actually successfully done anything like this?
Oh well, the one thing I've got on my side is that the preference which used to be the single most important one, is no longer important at all. (Show document gallery on launch. It used to be that as long as MS Word was showing the document gallery for the user to choose a template, it was deaf to Apple Events. In fact, if that was enabled in preferences, and you launched it with an Apple Event to open a document, it would not even open that document. All of which is no longer true, so at least MS straightened out that little bit of dementia.)
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden