• 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: TextEdit preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextEdit preferences


  • Subject: Re: TextEdit preferences
  • From: Philip Aker <email@hidden>
  • Date: Sun, 17 May 2009 10:55:25 -0700

On 2009-05-17, at 10:45:37, Yvan KOENIG wrote:

defaults read com.apple.TextEdit RichText


Thanks but,
under 10.5.6 as well as under 10.4.11 it logically returns:

The domain/default pair of (com.apple.TextEdit, RichText) does not exist.


because it is trying to read a parameter in com.Apple.TextEdit.plist
but as I wrote, this parameter is NOT stored in this file.

When the key does not exist then the format is RichText.

This is a common behavior in Mac OS X because some preferences calls in CoreFoundation and Cocoa will return NULL if a key/value pair doesn't exist (instead of an error) and the developer will take that to mean "use the built-in default behavior".


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >TextEdit preferences (From: Yvan KOENIG <email@hidden>)
 >Re: TextEdit preferences (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: TextEdit preferences
  • Next by Date: Rép: TextEdit preferences
  • Previous by thread: Re: TextEdit preferences
  • Next by thread: Rép: TextEdit preferences
  • Index(es):
    • Date
    • Thread