🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17898

Re: Very basic color question (AS)

#17898
From: Olivier Berquin
Date: Wed, 07 May 2003 06:47
27 lines
1538 bytes
John,

The example of Steve works fine but it's a little dangerous ;-)
Use this:

 
tell document 1 of application "InDesign 2.0.2"                                                           
   set BlackColor to swatch "Black"                                                           
   set fill color of text frame 1 of page 1 to BlackColor                                                           
end tell                                                           




or:

 
tell document 1 of application "InDesign 2.0.2"                                                           
   set fill color of text frame 1 of page 1 to swatch "Black"                                                           
end tell                                                           




HTH

Olivier.
Technical Details
Message-ID: <1de90532.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de90532.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,402e84d5475a8923
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-07 00:12:05 PST
From: "Olivier Berquin" <olb@microscript.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Very basic color question (AS)
Message-ID: <1de90532.1@WebX.la2eafNXanI>
Date: Tue, 6 May 2003 23:47:11 -0700
References: <1de90532.-1@WebX.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit