🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16586

Re: Automate color change

#16586
From: Jens Schulze
Date: Wed, 27 Aug 2003 07:37
14 lines
1453 bytes
"Marcia Silva":

> in this line:
>  myColor.ColorValue = Array(strColorValue)

You are assigning a string value into something, that awaits an array
consisting of doubles. Try something like this, this works here fine for me:

strColorValue = "100 60 70 8"    '  this is the C M Y K value
myColorValue = Split(strColorValue, " ")
myColor.ColorValue = Array(CDbl(myColorValue(0)), CDbl(myColorValue(1)), _
CDbl(myColorValue(2)), CDbl(myColorValue(3)))

Jens
Technical Details
Message-ID: <36F6E86DAE2BD8A67452CADA71330D5B@in.webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd1ac9.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,ab46b31de23c5d0e
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-08-27 00:37:43 PST
From: "Jens Schulze" <adobeforums@trickbetrueger.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Automate color change
Message-ID: <36F6E86DAE2BD8A67452CADA71330D5B@in.webx.la2eafNXanI>
Date: Wed, 27 Aug 2003 00:37:29 -0700
References: <2ccd1ac9.-1@webx.la2eafNXanI>
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit