5 Replies Latest reply on Nov 20, 2014 2:43 AM by Feminho Diniz

    InDesign CC Script: select or list all misspelled words

    Feminho Diniz

      I'm trying to list and select, via javascript, all my misspeled words in indesign CC. Have someone know how to do?

      First, i've tried to use the menu action "Spelling":

      app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
      var myDocument = app.activeDocument;
      var DynamicSpell = app.scriptMenuActions.itemByID(121345);

      When the dialogue box get openned, i'm trying to make some actions with the first selected word then ignore the sugested spelling changes by the spelling box (like a click on "ignore" button), then do this action again until the last word in the last story in the app active document... probably it's the dumbest way

      i'm newbie in this script language (and brazilian, so, sorry about the english) so, if someone could help