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?