1 Reply Latest reply on Aug 3, 2010 4:51 AM by Peter Kahrel

    [CS4 JS] Find a paragraph style and get text contents

    stoereee Level 1

      Hello,

       

      I would like to get to contents of text that is applied with a specific paragraph style, so that I can copy it to another text frame

       

      app.findTextPreferences = app.changeTextPreferences = null;
      app.findTextPreferences.appliedParagraphStyle = "headline";
      
      // and then get the value/contents of that applied paragraph style
      

       

       

      Sjoerd