1 Reply Latest reply on Feb 15, 2012 5:01 AM by [Jongware]

    findGrepPreferences

    Pooja_IDDev Level 1

      i need to find the text(contents) with specific paragraph sytle applied to it using findGrepPreferences property using java script. How to do this, please give me solution...

        • 1. Re: findGrepPreferences
          [Jongware] Most Valuable Participant

          You cannot find this in Adobe's documentation? It's all there, around p. 100 in the Scripting Guide, called "Finding and Changing Text". Read that section first.

           

          .. Read it? Then you'll know you need something like

           

          app.findGrepPreferences.findWhat = "(contents)";

          app.findGrepPreferences.appliedParagraphStyle = specific_paragraph_style;