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

Problem with saving.

Engaged ,
Aug 31, 2017 Aug 31, 2017

Copy link to clipboard

Copied

I am using

a=app.activeDocument;

b=a.save();

$.writeln(a.saved);

This returns true but the file is not saved.

I am wondering what i am doing wrong?

TOPICS
Actions and scripting

Views

406

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 Expert ,
Aug 31, 2017 Aug 31, 2017

Copy link to clipboard

Copied

Could you please post a screenshot to illustrate the issue?

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 ,
Aug 31, 2017 Aug 31, 2017

Copy link to clipboard

Copied

LATEST

I figured it out I had a scripts event manager running a script on save. So everytime it saved it would change the file so I added a save to the script that it referenced. What happens now is they press save it saves runs my script and then saves again.

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