Article View: adobe.scripting.indesign
Article #1688[CS3 AS] Replace color
From: Kermy
Date: Tue, 03 Feb 2009 21:07
Date: Tue, 03 Feb 2009 21:07
10 lines
847 bytes
847 bytes
Hi - new to applescript.
I want to replace "White": with the Paper color
I'm missing something - why isn't this working for me?:
tell application "Adobe InDesign CS3"
delete swatch "White" replacing with swatch "Paper"
end tell
Also, it might be "WHITE", "White" or "white" is there as way to do that in one step?
Technical Details
Message-ID:
<59b7c599.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,ec63a7ff5d3e52da,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kermy@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [CS3 AS] Replace color Message-ID: <59b7c599.-1@webcrossing.la2eafNXanI> Date: Tue, 3 Feb 2009 13:07:12 -0800 Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit