Article View: adobe.scripting.indesign
Article #9460Re: [JS, ID 1] fillColor????
From: Dave_Saunders
Date: Mon, 21 Aug 2006 11:41
Date: Mon, 21 Aug 2006 11:41
20 lines
994 bytes
994 bytes
ID 1? Do you mean CS1?
textFrame.fillColor =
is sort of in the right direction. But what is textFrame at this point in your script?
How is your script supposed to know which text frame to operate on?
Let's say you have one selected:
myTF = app.selection[0];
myTF.fillColor = "Black"
or
myTF.fillColor = app.activeDocument.swatches.item("SwatchName")
I think these should work.
Dave
Technical Details
Message-ID:
<3bc1550a.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc1550a.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ae72bc081edf6e48 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: [JS, ID 1] fillColor???? Message-ID: <3bc1550a.0@webcrossing.la2eafNXanI> Date: Mon, 21 Aug 2006 04:41:47 -0700 References: <3bc1550a.-1@webcrossing.la2eafNXanI> Lines: 21 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!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing