Re: Scripting the macOS Spelling Dictionary
Re: Scripting the macOS Spelling Dictionary
- Subject: Re: Scripting the macOS Spelling Dictionary
- From: Shane Stanley <email@hidden>
- Date: Mon, 23 Jan 2017 15:50:41 +1100
On 23 Jan 2017, at 3:27 pm, Christopher Stone <email@hidden> wrote:
Presently your script is writing to “en” on my system, although “LocalDictionary” has 25 words I know I entered in it.
It looks like the key is the setting for System Preferences -> Keyboard -> Text -> Spelling. Set it to Automatic by Language, and the entries get added to LocalDictionary. Set it to a specific language, and the entries get added to a file for checker's current language.
You can change the checker's language for your current app using something like:
theChecker's setLanguage:"fr"
and you can turn off the checker's automatic language identification with:
theChecker's setAutomaticallyIdentifiesLanguages:false
|
_______________________________________________
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