Article View: adobe.scripting.indesign
Article #19276Re: Pantone tint
From: Olav Kvern
Date: Thu, 02 Jan 2003 08:30
Date: Thu, 02 Jan 2003 08:30
25 lines
1323 bytes
1323 bytes
Kari--
I've never had much luck using "with properties" while creating a tint. Instead, try something like:
tell application "InDesign 2.0.1"
tell document 1
try
set myTint to tint 1 whose name is "PANTONE 1805 U" and tint value is 50
on error
set myTint to make tint with data {color:color "PANTONE 1805 U"}
set tint value of myTint to 50
end try
end tell
end tell
This works for me, anyway.
Thanks,
Ole
Technical Details
Message-ID:
<1de72e91.5@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<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-02 00:37:33 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Pantone tint Message-ID: <1de72e91.5@WebX.la2eafNXanI> Date: Thu, 2 Jan 2003 00:30:48 -0800 References: <1de72e91.-1@WebX.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit