@mLipok asked me to come up with an AutoIt example for this.
So here's what I came up with, including an added bonus.
Global $oMyError = ObjEvent('AutoIt.Error', '_ErrFunc')
Global $sLocale = 'en'
Global $sCountry = 'US'
Global $sWord = InputBox("Spell Checker", "File to check (empty for end)?")
While $sWord <> ""
Global $vSpell = _OOo_SpellChecker($sWord, $sLocale, $sCountry)
If $vSpell Then