Re: TextEdit preferences
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