Lawlerdev Posted May 9, 2001 Posted May 9, 2001 Has anyone come up with a way to prevent the current file from closing using the close box on the top of the window? This happens a lot on Windows and is a pain.
yafreax Posted May 9, 2001 Posted May 9, 2001 In startup script add the following steps. Allow User Abort [Off] Loop Pause/Resume script [] End Loop BEFORE YOU DO THAT, have a script that does this: Halt Script Else you will have no way of closing the file rather than a force quit. Make sure you create a button for the user to quit. This doesn't have need a Halt Script or Exit script step. After all, if it did, then the script would halt and it would close anyway. Make sure you hide the status area too so the users don't see the pause button. You can do everything with buttons, all scripts will run properly, but as soon as any script calls for the halt script, they will be able to close the program. Just play with it, you'll figure out what you need. Jeremy
Recommended Posts
This topic is 8604 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 accountSign in
Already have an account? Sign in here.
Sign In Now