Hello!
I use a «project.save» script in an Execute DAT, in the onExit() def. I do this since I want to update a value in storage at the moment I quit the project. It works.
The problem I get is this :
If my project contains any change and I choose to discard those changes, picking «Quit» in the message box instead of «Save and Quit», my script will override this and do a saving. So is there a way to retrieve the button I choose in the quit dialog and use it in my script as a condition?