Skip to main content
Inspiring
September 30, 2023
Answered

How to change stroke color in toolbar with script?

  • September 30, 2023
  • 1 reply
  • 275 views

Is it possible to change stroke color  in toolbar with script?

I thought that I saw that before but I can not find currently..

This topic has been closed for replies.
Correct answer livl17017666

var col = new CMYKColor();
col.cyan = 55;
col.magenta = 46;
col.yellow = 46;
col.black = 11;

 

docR.defaultStrokeColor = col

1 reply

livl17017666AuthorCorrect answer
Inspiring
September 30, 2023

var col = new CMYKColor();
col.cyan = 55;
col.magenta = 46;
col.yellow = 46;
col.black = 11;

 

docR.defaultStrokeColor = col