UnRegisters a function that was called when AutoIt exits.
OnAutoItExitUnRegister ( "function" )
| function | The name of the user function that was called. |
| Success: | Returns 1. |
| Failure: | Returns 0. |
OnAutoItExitRegister("MyTestFunc")
OnAutoItExitRegister("MyTestFunc2")
Sleep(1000)
OnAutoItExitUnRegister("MyTestFunc")
Func MyTestFunc()
MsgBox(64, "Exit Results 1", 'Exit Message from MyTestFunc()')
EndFunc ;==>MyTestFunc
Func MyTestFunc2()
MsgBox(64, "Exit Results 2", 'Exit Message from MyTestFunc()')
EndFunc ;==>MyTestFunc2