0 Replies Latest reply on Mar 27, 2013 2:02 PM by JeffLambert

    [AS CS6] changing properties of paragraphs

    JeffLambert Level 1



      I've done a version of a scripts that can change the properties of ALL paragraph styles, even those in a paragraph group.


      Here's the script:


      tell application "Adobe InDesign CS6"

                set properties of all paragraph styles of active document  to {justification:left align}

      end tell


      Simple, right?

      Now I'm trying to figure out how I can change the above properties but for only the Paragraph styles which are justified (either left, center, or right). This is were it gets complicated. I've tried doing some repeat block and go though all paragraph styles, but when I want to edit the properties, since the majority are in paragraph groups, I can't get to them without naming those groups. It gets tedious fast to try to sort all this out.


      Anybody has a better way to do this? or has already done something like this?