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

Typo in Photoshop ExtendScript API: SaveOptionsType instead of SaveOptions

Guru ,
Feb 06, 2025 Feb 06, 2025

The Photoshop ExtendScript API has a typo in the close method of the Document object. The saving parameter should be SaveOptions instead of SaveOptionsType.

Bug Acknowledged
TOPICS
Actions and scripting
110
Translate
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 Pinned Reply

Adobe Employee , Feb 06, 2025 Feb 06, 2025

Hey, @Kasyan Servetsky. Welcome to the Photoshop Community. Thanks for pointing this out. I've shared this with the team for review & update.

 

Best,

Sameer K

Status Acknowledged
Translate
4 Comments
Adobe Employee ,
Feb 06, 2025 Feb 06, 2025

Hey, @Kasyan Servetsky. Welcome to the Photoshop Community. Thanks for pointing this out. I've shared this with the team for review & update.

 

Best,

Sameer K

Status Acknowledged
Translate
Report
Community Expert ,
Feb 07, 2025 Feb 07, 2025

Could you post an example? 

Here 

activeDocument.close (SaveOptions.DONOTSAVECHANGES);

for example seems to work as expected. 

Translate
Report
Guru ,
Feb 07, 2025 Feb 07, 2025

Hi @c.pfaffenbichler,

Yes, it works, I know. But there's a typo in the reference:

2025-02-07_19-16-36.png

— Kasyan

Translate
Report
Community Expert ,
Feb 07, 2025 Feb 07, 2025
LATEST

Sorry, i had misunderstood.

Translate
Report