Article View: adobe.scripting.indesign
Article #20582Re: How to assign Pantone colors? (AS)
From: Aaron Andrade
Date: Thu, 27 Jun 2002 05:10
Date: Thu, 27 Jun 2002 05:10
31 lines
1573 bytes
1573 bytes
Ole, thanks for that. Worked great. I'm realizing that a lot of understanding Applescript is telling the right thing to the right thing. If that makes any sense. In case anyone's interested, here's my final script for mostly styling a table which has been selected with the text tool: tell application "InDesign 2.0.1" tell active document set topColor to color "PANTONE 2735 CV" tell selection set fill color of row 1 to topColor set fill tint of row 1 to 15 set bottom edge stroke weight of rows to 0.25 set right edge stroke weight of columns to 0 set left edge stroke weight of columns to 0 end tell set applied paragraph style of paragraphs of selection to paragraph style "_Table row entry" end tell end tell
Technical Details
Message-ID:
<ef9590f.1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news-xfer.siscom.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef9590f.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,93215662e51493d8 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-26 22:39:08 PST From: "Aaron Andrade" <aaronandrade@sprintmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news-xfer.siscom.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: How to assign Pantone colors? (AS) Message-ID: <ef9590f.1@WebX.aaQKaf7vad4> Date: Wed, 26 Jun 2002 22:10:56 -0700 References: <ef9590f.-1@WebX.aaQKaf7vad4> Lines: 34 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit