Category: Various
Description: This script designed to directly replace the "self.close()" function. It has been tested and works safely in GMS versions 2.3 AND 3.1. I suspect that it will also work in GMS1 although this is untested. An additional script is available to automatically find and replace all instances of the "self.close()" function and replace them with the safeClose() function.
Comments: I would love to make a complete package to enable 100% compatibility between GMS2 and 3. If the reader is aware of any bugs experienced with scripting between the two versions, please let me know at ben. (without a space)
Acknowledgements: Credit for this solution goes to Mr Vincent Richard (Gatan Application Support (FR)). This script simply adapts the provided solution to a standalone function.
Script version: 0.1
DM/GMS version: 2.3 and above
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download