• 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: Preference file problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preference file problem


  • Subject: Re: Preference file problem
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 12 May 2015 16:36:19 +1000

Setting values using registerDefaults: doesn't cause *anything* to be written to file. All it does is sets the fall-back values that are used if nothing is found for a particular key when you use objectForKey:. In other words, they are only used (a) the first time a script is run, and (b) if you never use setObject:forKey: for a particular key.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Preference file problem
      • From: Brian Christmas <email@hidden>
References: 
 >Preference file problem (From: Brian Christmas <email@hidden>)

  • Prev by Date: Preference file problem
  • Next by Date: Re: Preference file problem
  • Previous by thread: Preference file problem
  • Next by thread: Re: Preference file problem
  • Index(es):
    • Date
    • Thread