Article View: adobe.scripting.indesign
Article #2524Re: [AS] get a list of the used swatch colours in a document
From: KEVINP1
Date: Sun, 14 Dec 2008 18:11
Date: Sun, 14 Dec 2008 18:11
22 lines
1412 bytes
1412 bytes
Eric: Thanks for the reply, but no that is not what I meant, probably didn't explain my self that well, sorry.
Shane: In script editor in the result window when I run my script I get this
{"PANTONE 430 C", "PANTONE Warm Red U", "PANTONE Process Cyan CVC", "Black"}
what I want to do is have that result displayed/returned something like this:
Colours used in this document are: PANTONE 430 C & PANTONE Warm Red U & PANTONE Process Cyan CVC & Black
But using the below code:
set _NewList to _UpDatedList & "Black"
set _Result to "Colours used in this document are: " & _NewList
I get this:
"Colours used in this document are: PANTONE 430 CPANTONE Warm Red UPANTONE Process Cyan CVCBlack"
how would I go about getting what I am after, hope this explains things better
Kev
Technical Details
Message-ID:
<59b73c94.7@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<C56684EF.4CD9D%sstanley@myriad-com.com.au>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,cda3f5d182e58a01 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: KEVINP1@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [AS] get a list of the used swatch colours in a document Message-ID: <59b73c94.7@webcrossing.la2eafNXanI> Date: Sun, 14 Dec 2008 10:11:45 -0800 References: <C56684EF.4CD9D%sstanley@myriad-com.com.au> Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit