• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey

Disabling Spelling and Grammar check in MS Word with AutoHotkey

Microsoft WordI’ve been shoving AutoHotkey code into MS Word a lot lately and got tired of going through all the steps to disable the spell check and grammar checker each time. I tried looking for a button inside MS Word to add to my toolbar but I couldn’t find a button to apply the settings (or to get me to the Proofing page) so I decided to write it in AutoHotkey. Here’s the video explaining how I got the code and the hiccups I had along the way.

Disabling Spelling and Grammar check in MS Word with AutoHotkey

Disabling Spelling and Grammar check in MS Word with AutoHotkey


#SingleInstance,Force
doc:=ComObjActive("Word.Application") ;this would activate an open one
doc.Application.ScreenUpdating := False
doc.Options.CheckSpellingAsYouType:=True
doc.Options.CheckGrammarAsYouType :=True
doc.ActiveDocument.ShowSpellingErrors := False
doc.ActiveDocument.ShowGrammaticalErrors := False
doc.Application.ScreenUpdating := True ;Update the screen

Open multiple files in MS Word and change font type in word

Working with MS Word is excellent when you have AutoHotkey & COM!

Someone on the Facebook AutoHotkey group gave the following requirements

  1. Open file one
  2. open document Word
  3. CTRL+A
  4. change font to Calibri
  5. save file in another file

Here is the code wrote to open multiple files in MS Word and change the font type of all text.  COM Rocks!

Here’s a walk-through video open multiple files in MS Word

  • Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey