Question
Can anyone tells me why this fails?
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.