General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › spell checker
-
jrob61 October 22, 2014 at 7:15 pm
spell checker
October 22, 2014 at 7:15 pmParticipants 0Replies 1Last Activity 8 years, 3 months agoXMetaL Author Essential 9.0
Windows 7wanting to know if there is a JSCRIPT or exposed api or a macro that we can run to return all the misspelled words in the activedocument? when searching the forums most responses mentioned XMAX, but hopeful Author has the ability.
We added following to the xmetal90.ini 'runtime_spell_checking=true' that id's the misspelled words in the editor. Since spell checker loops thru them one at time, hopeful there is a method to grab the entire list and use it programmatically for other functionality.
we have tried the following, but it only returns a single misspelled word nearest the cursor:
// XMetaL Script Language JSCRIPT:
var strWords = ActiveDocument.GetSpellingResult(0);
ActiveDocument.Host.Alert(strWords ; -
AuthorPosts
- You must be logged in to reply to this topic.