3 Replies Latest reply on Aug 20, 2012 12:54 PM by RogerShen

    how to move to selected text?


      Hi all,

      I'm trying to select a paragraph as follows:

      select paragraph paragraphIndex of text frame textFrameIndex of page pageIndex


      the selection is successful, but I want to display such selection in the middle of my screen as well. Currently, the screen displays the part of the document as it was before executing the script. The genetic function I try to mimic here is find & replace, as it can select and track at the same time.


      Any idea to put a certain part of a document to the middle of the display? Thanks!