Jump to content

Recommended Posts

Posted

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!

Posted

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.

:lmao:

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