Jump to content

Recommended Posts

Posted

I know I've seen this somewhere in the forums but I can't remember where, what it entails, nor can I come up with a search argument to find it.

Is there a way to determine from within a script that the script has been canceled or killed by the system or something else?

I'd like a way that, if this happens, my script can clean up.

Regards,

Jim

Posted

you could put it under the case $GUI_EVENT_CLOSE

if the script gets a kill command (not a forced kill or a command) it will execute everything under this case statement

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...