🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17675

Re: AS All text to color

#17675
From: Olivier Berquin
Date: Thu, 22 May 2003 15:07
17 lines
1031 bytes
Hi Userone,

Yes, it's simply create a swatch:

try something like this:
tell application "InDesign 2.0.2"
	tell document 1
		set redColor to make color with properties {color value:{0, 100, 100, 0}, name:"Red 100 100"}
		tell every story
			set fill color to redColor
		end tell
	end tell
end tell

HTH

Oli.
Technical Details
Message-ID: <1de93abc.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de93abc.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,76b4cde02ac472cd
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-22 08:08:46 PST
From: "Olivier Berquin" <olb@microscript.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: AS All text to color
Message-ID: <1de93abc.0@WebX.la2eafNXanI>
Date: Thu, 22 May 2003 08:07:12 -0700
References: <1de93abc.-1@WebX.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit