Answered
InDesign Javascript Paragraph Shading question
Hi There,
Please can someone help with a question about setting the Paragraph Shading colour within a Paragraph Style.
I've tried a few things but as yet haven't managed to nail it.
Here's the snippet I've been testing...
allPars = app.activeDocument.allParagraphStyles;
for (var g = 1; g < allPars.length; g++) {
allPars[g].paragraphShadingColor.name = "This Colour";
allPars[g].paragraphShadingColor.name = allPars.itemByName("This Colour");
} Neither of the two versions, shown above, work?
Is this not possible via a script?
Thanks.
