🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18372

AS - 3rd color of gradient impossible

#18372
From: Fernando G. Jensen
Date: Thu, 03 Apr 2003 12:31
15 lines
1079 bytes
Making a gradient with 2 stops works fine, but adding a 3rd prompts an error ... any ideas?

tell application "InDesign 2.0.2"
	tell active document
		set myGradient to make gradient
		tell myGradient
			set gradient type to linear
			set stopcolor of gradient stop 1 to newColor1
			set stopcolor of gradient stop 2 to newColor2
		end tell
	end tell
end tell

thanks
Fernando
Technical Details
Message-ID: <1de8946d.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!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,68ddb559a235a65b,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-03 04:37:54 PST
From: "Fernando G. Jensen" <fgj@eniro.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!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: AS - 3rd color of gradient impossible
Message-ID: <1de8946d.-1@WebX.la2eafNXanI>
Date: Thu, 3 Apr 2003 04:31:45 -0800
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit