Trying to save text on all inputs when user exits the program by using the LocalStorage in Construct Classic.
Everything works normally if I have a save button that the users presses, but I want it to save everything if the users exits the program by pressing the X in the corner..
Is there any way to catch when the users quits, have been using "On end of layout" to try to catch it but that is not working. I feel like there was a handler for program exit before..?