Skip to main content
Participant
October 7, 2016
Answered

Convert illustrator color mode in extendscript

  • October 7, 2016
  • 1 reply
  • 879 views

I have a series of d3 drawn svg images that I'm bringing into illustrator, which I then run a script on. before the script can function properly I have to go to the File menu and pull down to the Document Color mode and change it from RGB to CMYK. How would I code this into the beginning of the script.

This topic has been closed for replies.
Correct answer CarlosCanto

use

app.executeMenuCommand('doc-color-cmyk');

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
October 7, 2016

use

app.executeMenuCommand('doc-color-cmyk');