• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to reset another app's prefs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >how to reset another app's prefs (From: Scott Ribe <email@hidden>)
 >Re: how to reset another app's prefs (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: how to reset another app's prefs
  • Next by Date: Re: Adding attributes to text in a text table cell
  • Previous by thread: Re: how to reset another app's prefs
  • Next by thread: Re: how to reset another app's prefs
  • Index(es):
    • Date
    • Thread