Switch between Spelling and Grammar languages

Yeah, I have a few options in that menu that have parenthetical sources like (Spell Catcher) that don't get selected by the script. When I drop the leading space and parenthetical phrase, the script works.