反注册一个由AutoIt退出时将调用的用户自定义函数.
OnAutoItExitUnregister( "函数" )
函数 | 要调用的用户自定义函数名称 |
成功: | 返回 1 |
失败: | 返回 0 |
OnAutoItExitRegister("MyTestFunc")
OnAutoItExitRegister("MyTestFunc2")
Sleep(1000)
OnAutoItExitUnRegister("MyTestFunc")
Func MyTestFunc()
MsgBox(4160, "Exit Results 1", 'Exit Message from MyTestFunc()')
EndFunc ;==>MyTestFunc
Func MyTestFunc2()
MsgBox(4160, "Exit Results 2", 'Exit Message from MyTestFunc()')
EndFunc ;==>MyTestFunc2