🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19275

Re: Pantone tint

#19275
From: Kari Puikkonen
Date: Wed, 01 Jan 2003 18:03
21 lines
1103 bytes
Thanks Shane!

I'm trying that exists command, but what ever I try my script finds base color and not the tint.



tell application "InDesign 2.0.2" 
	tell document 1 
		set mySwatch to swatch "PANTONE 1805 U" 
		set myTint to {tint value:50} 
		if not (exists myTint) then 
			make new tint at document 1 with data {color:mySwatch} with properties {tint value:50} 
		end if 
	end tell 
end tell



? :(

Kari
Technical Details
Message-ID: <1de72e91.4@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de72e91.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,e4d80716eba899ff
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-01 10:10:06 PST
From: "Kari Puikkonen" <kari.puikkonen@welho.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Pantone tint
Message-ID: <1de72e91.4@WebX.la2eafNXanI>
Date: Wed, 1 Jan 2003 10:03:56 -0800
References: <1de72e91.-1@WebX.la2eafNXanI>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit