Jump to content
Sign in to follow this  


Recommended Posts


OnAutoItExit() is called when script is closing by windows or when windows is shutingdown...

Since OnAutoItExit() has been removed and new functions are OnAutoItExitRegister() and OnAutoItExitUnregister().

I am confused which one and how to use in my case?

Func OnAutoItExit()
EndFunc ;==> OnAutoItExit

Share this post

Link to post
Share on other sites

Thank you, but can you explain to me why you use OnAutoItExitRegister and not OnAutoItExitUnregister?

Helpfile is clear :

OnAutoItExitRegister : Registers a function to be called when AutoIt exits.

OnAutoItExitUnRegister : UnRegisters a function that was called when AutoIt exits.

You want an action when your script is finished : So use OnAutoItExitRegister...

AutoIt X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...