Skip to main content
Kasyan Servetsky
Legend
February 6, 2025

P: Typo in Photoshop ExtendScript API: SaveOptionsType instead of SaveOptions

  • February 6, 2025
  • 4 replies
  • 336 views

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

4 replies

c.pfaffenbichler
Community Expert
Community Expert
February 7, 2025

Sorry, i had misunderstood.

Kasyan Servetsky
Legend
February 7, 2025

Hi @c.pfaffenbichler,

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

— Kasyan

c.pfaffenbichler
Community Expert
Community Expert
February 7, 2025

Could you post an example? 

Here 

activeDocument.close (SaveOptions.DONOTSAVECHANGES);

for example seems to work as expected. 

Sameer K
Community Manager
Community Manager
February 6, 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