2 Replies Latest reply on Jun 26, 2012 10:27 AM by gumfairy1

    find and replace paragraph style


      I am creating a javascript for InDesign in order to search and replace some text. The text I am looking for has to be in a certain Paragraph style.


      This is what I have so far:

      app.findTextPreferences = app.changeTextPreferences = null;

      app.findTextPreferences.findWhat = '^p'

      app.changeTextPreferences.changeTo = ';'



      I need to find/change a return of a certain paragraph style to a semi colon. What is the script that I would use to search for paragraph style?