Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Abort File Close?


This topic is 6533 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi there,

Does anyone know of a way to abort the closing of a file when the user closes the file's last open window? If they close their last open window accidentally, I want to provide an opportunity to cancel shutdown and restart the application.

I have a Shutdown script that's performed automatically when Closing the file. Cancelling the Shutdown script (and performing a Restart script) is no problem, but the file continues closing once the Restart script is finished.

Is there anyway to stop the file from closing?

Thanks,

Dave

  • Newbies
Posted

Pretty slick.

Interesting tidbit I don't quite understand: when I first tried your script in my file, I had "No Command Assigned" to the menu item--assuming the script would handle everything--but then it didn't work.

Not sure I get how the two interact, but chosing to include the Close command along with your script gives me the behavior I want.

Thanks!

Dave

This topic is 6533 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.