🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #111

Re: How to rename swatches name?

#111
From: Tony_Tuneson
Date: Thu, 02 Apr 2009 11:15
6 lines
1020 bytes
Its aks for 'replace with' when removing the complete Swatch manually, not just the name.
To change the name (VB), try:

myiddoc.Swatches.item("05;c=0;m=50;y=0;k=0").name = "Color05"
or
myiddoc.Swatches.item("05;c=0;m=50;y=0;k=0").name = "Color" + left(myiddoc.Swatches.item("05;c=0;m=50;y=0;k=0").name, 2)
Technical Details
Message-ID: <59b87ab5.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
References: <59b87ab5.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2e16be3804f855bc
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Tony_Tuneson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: How to rename swatches name?
Message-ID: <59b87ab5.0@webcrossing.la2eafNXanI>
Date: Thu, 2 Apr 2009 04:15:25 -0700
References: <59b87ab5.-1@webcrossing.la2eafNXanI>
Lines: 5
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Original-Lines: 8