🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by subha_oviya Thu, 02 Apr 2009 10:32
How to rename swatches name?
#108
Author: subha_oviya
Date: Thu, 02 Apr 2009 10:32
9 lines
756 bytes
Hi,
I need to rename the swatches name.

For ex: 05;c=0;m=50;y=0;k=0 rename this color to Color 05.

While removing the original color name manually, it ask for replace with. How this can be done?

Regards,
Subha......
Re: How to rename swatches name?
#111
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads