• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Applescript—cannot embed ICC profiles in Illustrator save options

Community Beginner ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

Has anyone else ran into this issue, and possibly have a workaround?

 

Using the following Applescript in macOS 14.5 and Illustrator 27.x or 28.5, I am unable to save an Illustrator file with an embedded ICC profile. The file saves, but the profile does not remain embedded. 

save document 1 in filePath as Illustrator with options {embed icc profile:true}

I have verified that a) the ICC profile was already embedded in the source document, and that if I save the file via the GUI, checking the box to save the ICC profile works. Using AppleScript to save the Illustrator file does not retain the ICC profile.

I also posted this on Macscripter. I believe this to be a bug and will submit that report soon.

TOPICS
Bug , Import and export , Print and publish , Scripting

Views

81

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Beginner ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

here's a more precise script should anyoe want to try it on their own: 

tell application id "ART5"
	save document 1 in "~/Desktop/testFile.ai" as Illustrator with options {embed icc profile:true}
end tell

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 18, 2024 Jun 18, 2024

Copy link to clipboard

Copied

I can confirm this issue (28.5), and would agree it’s a bug.

 

Have you tried the same script in JSX? AI’s AS and JS APIs share a lot of common plumbing so chances are it’s affected too, and this should increase priority for a fix.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 18, 2024 Jun 18, 2024

Copy link to clipboard

Copied

LATEST

Thanks for confirming!
I tried to recreate in JSX but I'm too novice to make it work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines