January 4, 200719 yr Newbies 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
January 4, 200719 yr create a custom menu set, load it on startup, modify the "file > close" action to a script. see example attached CustomMenu.fp7_2.zip
January 5, 200719 yr Author Newbies 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
Create an account or sign in to comment