August 27, 200817 yr I have a very simple script designed to let a user preview an invoice before printing it. The script pauses after entering preview mode, so the user just has to hit Enter to continue the script (which goes on to the printing), since the status area on the left will be hidden. The problem is that it's very easy to imagine a user hitting the X to close the window instead of hitting Enter, and I'm wondering if there's a way to run a script when the window closes in order to catch this 'error.' If there's not, is there any way to prevent the user from closing the window completely? Thanks.
August 27, 200817 yr If you start the script with Allow User Abort [Off], the user will be unable to close the window.
Create an account or sign in to comment