JonathanChan Posted February 4, 2006 Share Posted February 4, 2006 Hello... Is it possible with autoit to catch if the process is being terminated/closed because of a shutdown or something else? I'd like to save a few variables to registry and clean up a few files on exit. Any help appreciated! Thanks! Link to comment Share on other sites More sharing options...
MHz Posted February 4, 2006 Share Posted February 4, 2006 The feature of Windows shutdown recognition for AutoIt scripts was added the Beta version of AutoIt.Have a look in the Contents of the beta helpfile in Keyword/Statement Reference for Func OnAutoItExit() for further help on this. Look in the remarks for @ExitCode and @ExitMethod. Link to comment Share on other sites More sharing options...
JonathanChan Posted February 4, 2006 Author Share Posted February 4, 2006 Thanks... I'll wait till it comes to stable... Link to comment Share on other sites More sharing options...
greenmachine Posted February 4, 2006 Share Posted February 4, 2006 You could be waiting for a long time then. My suggestion - get beta. With AutoIt, beta = new, not unstable. Link to comment Share on other sites More sharing options...
Recommended Posts
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