Article View: adobe.scripting.indesign
Article #20579Re: How to assign Pantone colors? (AS)
From: Olav Kvern
Date: Wed, 26 Jun 2002 21:31
Date: Wed, 26 Jun 2002 21:31
18 lines
1257 bytes
1257 bytes
Aaron-- I think your problem lies with the use of "selection," rather than with the color specifier. I think you probably mean: set mySelection to selection set fill color of row 1 of item 1 of mySelection to color "PANTONE 2735 CV" of currentDoc To get around having to specify the full "path" to the document color, you should be able to put things inside a "tell" block, as in: tell active document set myColor to color "PANTONE 2735 CV" end tell Thanks, Ole
Technical Details
Message-ID:
<ef9590f.0@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!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 14:38:11 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!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.0@WebX.aaQKaf7vad4> Date: Wed, 26 Jun 2002 14:31:11 -0700 References: <ef9590f.-1@WebX.aaQKaf7vad4> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit