Article View: adobe.scripting.indesign
Article #17966Naming "unnamed" colors
From: bluelight
Date: Thu, 01 May 2003 06:46
Date: Thu, 01 May 2003 06:46
19 lines
1180 bytes
1180 bytes
I try to name the unnamed colors from a document with 12 colors, via scripting. And the last one is unnamed, so I wrote the following code: Set indyColors = indyDoc.Colors color12 = indyColors.Item(12).ColorValue ColorName = "C=" + CStr(color12(0)) + ", M=" + CStr(color12(1)) + ", M=" + CStr(color12(2)) + ", K=" + CStr(color12(3)) indyColors.Item(12).Name = ColorName But I receive the folowing error: Runtime error '30507': Cannot edit this color property What's the problem? Thanks, bluelight
Technical Details
Message-ID:
<1de8f323.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.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,2f29aa69a1c9a096,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-01 00:07:47 PST From: bluelight <catagras@yahoo.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Naming "unnamed" colors Message-ID: <1de8f323.-1@WebX.la2eafNXanI> Date: Wed, 30 Apr 2003 23:46:19 -0700 Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit