Copy link to clipboard
Copied
Is it possible to set the fillcolor of a pathItem to registration in some way?
Would appreciate an answer!
//Anders
You can access registration swatch like below.
var colour =app.activeDocument.swatches[
"[resistration]"
].color;
app.activeDocument.pathItems[0].fillColor = colour;
However, I don't test it.
Copy link to clipboard
Copied
You can access registration swatch like below.
var colour =app.activeDocument.swatches[
"[resistration]"
].color;
app.activeDocument.pathItems[0].fillColor = colour;
However, I don't test it.
Copy link to clipboard
Copied
Thank you Ten A, it worked!