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

Checking color profile error

New Here ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

Hi, I wanted to create simple script which informs me that current document has no profile.

But I stumbled across a problem, probably simple one

Reading profile is easy:

var profile = app.activeDocument.colorProfileName;

    alert (profile);

But if document is not color managed problem occurs as I get "No Such Element" in ExtendScript Toolkit.

What can I do to check for profile and inform me that Document is not color managed?

TOPICS
Actions and scripting

Views

349

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
New Here ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

LATEST

found answer here:

Re: Color profile - conditions

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