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

Set/Clear/Read Document "dirty" property

Explorer ,
Sep 25, 2014 Sep 25, 2014

Copy link to clipboard

Copied

The latest in my series of futile and/or unanswerable questions...

It appears that Photoshop marks a document as 'dirty' (i.e. puts '*' after the name on the title bar and tabs, prompts for save on exit, etc) whenever a filter plugin executes without error, regardless of whether it actually changed anything. And yes, I realize that PS has no way of actually knowing, short of comparing pixels before/after, which would likely entail a huge performance hit.

So my question is, is it possible for a filter or automation plugin to query/modify that property?

TOPICS
SDK

Views

596

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

correct answers 1 Correct answer

Explorer , Sep 25, 2014 Sep 25, 2014

Ok, I'm giving up on this one. It appears that the only thing that clears the IsDirty property is a 'Revert' event. Even Undo or StepBackward all the way to the Revert/Open leaves it set.

Votes

Translate

Translate
Adobe
Explorer ,
Sep 25, 2014 Sep 25, 2014

Copy link to clipboard

Copied

Ok, found how to query it...question remains: is it possible to set it, so as to suppress the 'save on exit' behavior?

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
Explorer ,
Sep 25, 2014 Sep 25, 2014

Copy link to clipboard

Copied

Ok, I'm giving up on this one. It appears that the only thing that clears the IsDirty property is a 'Revert' event. Even Undo or StepBackward all the way to the Revert/Open leaves it set.

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
Contributor ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

LATEST

I don't think there is a way to clear document's Dirty status short of Undo/Revert.

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