In this way, it works!
But I found the problem for the first script, it's because of my audio plugin (this one: https://forums.rpgmakerweb.com/index.php?threads/audio-lag-fix.73031/), by disabling it, your first script works perfectly
I released a game a few days ago, and some players on Mac tell me they can't save. They can go to the menu, but they have the bad buzzer sound.
The strange thing is that I made the game on Mac and I don't have a problem in my project, and with an export too
Do you know why it happens?
Do you know this kind of plugin? I think it's something pretty basic and it must exist, but maybe I don't have the right search words because I didn't find anything in the plugin lists. :/