10 Replies Latest reply on Jan 6, 2012 3:47 AM by Laubender

    Can anyone tells me why this fails?

    Josh000000

      Maybe I'm missing something?

       

       

      var chapterStyles = [

            doc.paragraphStyles.item("ChapterTitle (Chapter)"),

            doc.paragraphStyles.item("FrontBackTitle (Chapter)")

      ];

      alert(chapterStyles[0].name);

       

       

      If you change the alert to  ChapterStyles[0]  it works... seems like this should be pretty simple.