Is it possible to assign a colorprofile to a document in javascript?
I'm trying to assign a colorprofile (Coated FOGRA39) to my document trough javascript (document presets?).
Is it possible?
Cheers Daniel
I'm trying to assign a colorprofile (Coated FOGRA39) to my document trough javascript (document presets?).
Is it possible?
Cheers Daniel
Document presets only have a color mode RGB or CMYK… You will need to look at changing the app settings when creating a new file…
#target illustrator var defCol = app.defaultColorSettings; alert( unescape( defCol ) ); var csList = app.colorSettingsList; alert( unescape( csList.join('\r') ) ); app.loadColorSettings( File(csList[10]) ); app.loadColorSettings( File(defCol) );
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.