Re: Changing Spelling Dictionary?
Re: Changing Spelling Dictionary?
- Subject: Re: Changing Spelling Dictionary?
- From: David Hood <email@hidden>
- Date: Tue, 4 May 2004 11:25:58 +1200
On 18/04/2004, at 8:21 AM, Harald E Brandt wrote:
I just wonder if anyone has done any attempts at automating the change
of Spelling Dictionary [in any general Cocoa text app that supports
spell check].
I realise this is a few weeks old, but I just noticed on
macosxhints.com that you can change it with:
defaults write "Apple Global Domain" NSPreferredSpellServerLanguage
en_GB
Where en_GB is the short form on the language choice (Australian
English is en_AU)
A related question:
Customised spelling dictionaries are stored (at least with Panther) in
~/Library/Spelling/en_AU (or whatever language you are set to) as a
text file delimited by Null characters (ASCII 0, which makes for
scripting fun). While I've got a script that will add words to the
custom dictionary it seems to need a logout and back in to read the
updated file. Does anyone know how to get the machine to pay attention
to the changed custom dictionary without a logout?
Regards,
David Hood
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.