🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19184

How to specify a color (VB)

#19184
From: Jack Gregory
Date: Thu, 16 Jan 2003 05:52
11 lines
1035 bytes
This has got to be a simple one, but I can't find an answer. I simply want to specify a stroke color. And it is easy. I want it black!

Here is the gist of the idea:

myRectangle.StrokeColor = myInDesign.Colors.Item(1) 'no good

myRectangle.StrokeColor = "black" 'no good

I can't seem to find an example that does this simple thing.

--Jack Gregory
Technical Details
Message-ID: <1de7674c.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,706fac2ad3742216,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-15 22:07:46 PST
From: "Jack Gregory" <jgg@ultranet.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: How to specify a color (VB)
Message-ID: <1de7674c.-1@WebX.la2eafNXanI>
Date: Wed, 15 Jan 2003 21:52:46 -0800
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit