Copy link to clipboard
Copied
There's a swatch that named "6" in the swatch list.
And i'd like to rename or remove this swatch.
I tryed these code already.
But these dindn't work well.
These got sixth swatch in the list.
var swObj = doc.swatches["6"];
var swObj = doc.swatches[(6).toString()];
Off course , I could get other swatches that have usually name.
Is there a way to get swatch object that named as number character except by renaming swatches before do script?
Salut !
var swatch = documents[0].swatches.getByName("6");
swatch.name = "toto";
de elleere
Copy link to clipboard
Copied
Salut !
var swatch = documents[0].swatches.getByName("6");
swatch.name = "toto";
de elleere
Copy link to clipboard
Copied
This is what I wanted.
Thank you my wizard!
Copy link to clipboard
Copied
Hello, René!
How would you activate the Global option of every swatch using a Script?