2 Replies Latest reply on Apr 6, 2017 12:27 AM by akiva_atwood

    How to move active page and cursor to findText result

    akiva_atwood Level 1

      I'm trying the following:


      app.findTextPreferences = app.changeTextPreferences = null;

      app.findTextPreferences.appliedParagraphStyle=app.activeDocument.paragraphStyles.itemByNam e("someParaStyle");





      What I want is for the active page on screen to change to the page that x[0] is on -- and for the cursor to be in the x[0] position.


      Any suggestions how to do it?


      (basically trying to add a "find next" capability to a script)