• 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: Changing Spelling Dictionary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Possible bug.
  • Next by Date: Re: Quit a remote application (Entourage)
  • Previous by thread: Re: Invoking the Finder's 'Find' window
  • Next by thread: Osascript timesaving tip
  • Index(es):
    • Date
    • Thread