5 Replies Latest reply on Jan 7, 2017 2:59 AM by Johnwhite

    How to select and copy

    Johnwhite Level 1

      Hi experts,

       

      Assume my active doc has only one story, my goal is to select the text and copy.

      How I can do that?

       

      my script like this:

       

       var mySource = app.activeDocument.stories.everyItem().paragraphs.everyItem().getElements();
             mySource.select();
      app.copy();
      

       

      but not working.

       

      Could someone show me how please.

       

      thanks

      Regard

      John