Copy link to clipboard
Copied
i need a simple script that set stroke color of shape to none.
Thanks!
Hi @aviel222
the solution is simple, but you may need to change the name of "NoColor" depending on your language.
app.selection[0].strokeColor = app.activeDocument.swatches.getByName("[None]").color; // depends on language
But again:
You haven't read this post carefully - have you?
Please mark answered questions as solved by marking one or more answers as "Correct Answer".
Copy link to clipboard
Copied
i need a simple script that set stroke color of shape to none.
Thanks!
Hi @aviel222
the solution is simple, but you may need to change the name of "NoColor" depending on your language.
app.selection[0].strokeColor = app.activeDocument.swatches.getByName("[None]").color; // depends on language
But again:
You haven't read this post carefully - have you?
Please mark answered questions as solved by marking one or more answers as "Correct Answer".
Copy link to clipboard
Copied
Hi @aviel222
the solution is simple, but you may need to change the name of "NoColor" depending on your language.
app.selection[0].strokeColor = app.activeDocument.swatches.getByName("[None]").color; // depends on language
But again:
You haven't read this post carefully - have you?
Please mark answered questions as solved by marking one or more answers as "Correct Answer".
Copy link to clipboard
Copied
From now on, any solution is correct - I will mark what you requested
Thanks!
Copy link to clipboard
Copied
😉
Not any - but good and correct solutions.
Glad we could help.
😄