Does any one know how to Show the Save Changes Dialog Before Closing A Document
Thanks
You have two options:
app.activeDocument.close()
psCore.performMenuCommand({
commandID: 31
});
Besides, this link mention â–¸ close ( saveDialogOptions?
: SaveDialogOptions): Promise‹void›
https://www.adobe.io/photoshop/uxp/ps_reference/classes/document/
I couldn’t find any directions in how to use saveDialogOptions