I’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