• 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: Scripting the macOS Spelling Dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
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: 
 >Scripting the macOS Spelling Dictionary (From: Christopher Stone <email@hidden>)
 >Re: Scripting the macOS Spelling Dictionary (From: Shane Stanley <email@hidden>)
 >Re: Scripting the macOS Spelling Dictionary (From: Christopher Stone <email@hidden>)
 >Re: Scripting the macOS Spelling Dictionary (From: Christopher Stone <email@hidden>)
 >Re: Scripting the macOS Spelling Dictionary (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Illustrator scripting
  • Next by Date: Script Editor in Sierra – Auto-Opens Open Dialog?
  • Previous by thread: Re: Scripting the macOS Spelling Dictionary
  • Next by thread: Script Editor in Sierra – Auto-Opens Open Dialog?
  • Index(es):
    • Date
    • Thread