Article View: adobe.scripting.indesign
Article #8160Re: Paragraphstyle font color
From: nycynik
Date: Wed, 25 Oct 2006 22:18
Date: Wed, 25 Oct 2006 22:18
14 lines
900 bytes
900 bytes
This is what is not working.
var myColor = myDocument.swatches.item("New Black");
myDocument.paragraphStyles.add({
name:"NewStyle",
appliedFont: "Arial\tBold",
justification:Justification.centerAlign,
pointSize:30,
leading:16,
overprintFill:true,
color:myColor,
overprintstroke:true
});
Technical Details
Message-ID:
<3bc2153a.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc2153a.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,6f1d7e6022f85bb X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: nycynik@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Paragraphstyle font color Message-ID: <3bc2153a.0@webcrossing.la2eafNXanI> Date: Wed, 25 Oct 2006 15:18:26 -0700 References: <3bc2153a.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing