🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18719

Re: Change Color Space (AS)

#18719
From: CouponBoy
Date: Tue, 25 Feb 2003 18:14
21 lines
1108 bytes
This one works well for me:

tell application "InDesign 2.0.2"
	if exists document 1 then
		tell document 1
			set mylist to get name of every swatch
		end tell

		repeat with i in mylist
			tell document 1
				tell color (i as string)
					try
						set color model to process
						set color space to cmyk
					end try
				end tell
			end tell
		end repeat
		beep
	end if
end tell
Technical Details
Message-ID: <1de7379f.9@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!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: <1de7379f.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,e7b787ca507c5117
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-25 10:37:51 PST
From: CouponBoy <chris.paveglio@clippermagazine.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!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: Change Color Space (AS)
Message-ID: <1de7379f.9@WebX.la2eafNXanI>
Date: Tue, 25 Feb 2003 10:14:40 -0800
References: <1de7379f.-1@WebX.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit