基 础 函 数 参 考


OnAutoItExitUnRegister

注销 AutoIt 退出时调用的函数.

OnAutoItExitUnregister( "函数" )

参 数

函数 用户自定义函数名称.

返 回 值

成功: 返回 1.
失败: 返回 0.

备 注


相 关 函 数

OnAutoItExitRegister

函 数 示 例


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)