注销 AutoIt 退出时调用的函数.
OnAutoItExitUnregister( "函数" )
函数 | 用户自定义函数名称. |
成功: | 返回 1. |
失败: | 返回 0. |
OnAutoItExitRegister("MyTestFunc")
OnAutoItExitRegister("MyTestFunc2")
Sleep(1000)
OnAutoItExitUnregister("MyTestFunc")
Func MyTestFunc()
MsgBox(64, "退出结果
1", '由退出函数
MyTestFunc() 关闭')
EndFunc
Func MyTestFunc2()
MsgBox(64, "退出结果
2", '由退出函数
MyTestFunc2() 关闭')
EndFunc ;==>MyTestFunc2
provider with jb51.net (unicode) |