0 Replies Latest reply on Feb 26, 2009 7:02 PM by ekipartner

    JS How to "Close All Style Groups" of Paragraph StyleGroups (CS4)

    ekipartner Level 1

      Does anyone can advice me how to "Close All Style Groups". (The following opens properly the "Group triangle" and sets the default Paragraph Style.)

      var myDocument = app.documents.item(0);
      myDocument.textDefaults.appliedParagraphStyle = myDocument.paragraphStyleGroups.item("GER").paragraphStyles.item("GER body");

      Thanks in advance,