Skip to main content
Kasyan Servetsky
Legend
February 6, 2025
Open for Voting

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

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.

Translate
Kasyan Servetsky
Legend
February 7, 2025

Hi @c.pfaffenbichler,

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

— Kasyan

Translate
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. 

Translate
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

Translate