Article View: adobe.scripting.indesign
Article #20574How to assign Pantone colors? (AS)
From: Aaron Andrade
Date: Wed, 26 Jun 2002 20:36
Date: Wed, 26 Jun 2002 20:36
14 lines
1231 bytes
1231 bytes
Hi, I'm not sure why the script below doesn't work (brackets for effect only). It works if the color is named "Red", which is also in the Swatches Palette. Any help would be appreciated. Also, is there a way to bypass having to enter a complete path to your document when assigning color? ---- tell application "InDesign 2.0.1" set currentDoc to document [doc name] of application "InDesign 2.0.1" set fill color of row 1 of selection to swatch "PANTONE 2735 CV" of currentDoc 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-06!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.rt.ru!rt.ru!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,93215662e51493d8,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-26 13:39:33 PST From: "Aaron Andrade" <aaronandrade@sprintmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.rt.ru!rt.ru!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: How to assign Pantone colors? (AS) Message-ID: <ef9590f.-1@WebX.aaQKaf7vad4> Date: Wed, 26 Jun 2002 13:36:19 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit