I currently use Javascript to export jpgs out of illustrator when I am done with a graphic. I would like to add an "Auto-QC" feature which would fire a spell check before I export. I can't seem to find any documentation on how to call the Check Spelling (Edit > Check Spelling...). Anyone have any ideas? I would also like if I could fire Smart Punctuation (Type > Smart Punctuation...) as well, but that is a lower priority. I have seen it mentioned in CS6 forums, but does anyone know how to make it work with Illustrator CS5?
Thanks for any help in advance!