Hey.
I added a foreign langauge spelling dictionary to InDesign recently and then began to wonder how I could make a list with a JS script of all the misspelled words in the new language.
I have looked for hidden characters in the character stream, looked at search, looked for adornment hints in the DOM ( thinking @ that jagged red underline ) and poked though the 'Word' class on Jongware's documentation site -- all without any luck.
InDesign knows if you right click on a misspelled word you get a list of corrections and spelling options rather than the usual text right click options; but how can I find these words with a script?
Am I missing something obvious?
Thanks !