How can we save the event when Photoshop is stopped?

Hi all!!

I have to perform actions on the record of events of a document. I had no problem doing the same thing. But, in the course of the different tests save event trigger scenarios, I fell on the situation in which a document without title is open and the user closes Photoshop. At this point, Photoshop prompts the message "do you want to save the document? Regardless of the user's selection ('Yes' / 'No'), the plugin is unable to obtain registration event, perhaps due to the termination of the application. I get the message of kSPInterfaceShutdownSelector directly. Don't stop to save event reminder.

How can I make sure that my save event callback is executed each time a user saves a document?

Thank you!

You must analyze the close event descriptor. Locate the key keySaving

Tags: Photoshop

Similar Questions

Maybe you are looking for