3 Replies Latest reply on Feb 16, 2015 11:58 PM by johnp45247251

    Select text of particular paragraph style

    johnp45247251 Level 1



      I am new to applescript pls help me.

      I need to select the text of particular paragraph styles.

      my indesign file have 5 paragraph styles and i want to select 3rd paragraph styles of text. if you knowing the script please tell me the script.


      my code is shown in below

      tell application "Adobe InDesign CC 2014"

          tell active document

              set d to name of paragraph styles

              tell story 1

                  if "bch_tx" is in d then-------------->here "bch_tx" is paragraph style name

                      tell item 3 of d

                          select text

                      end tell

                  end if

              end tell

          end tell

      end tell



      Thank you,

      regards by

      John peter.