Function Reference

OnAutoItExitUnRegister

AutoIt終了時に呼ばれる関数の登録を解除します。

OnAutoItExitUnregister( "function" )

 

パラメータ

function 呼ばれるユーザー関数の名前

 

返し値

成功 1を返します。
失敗 0を返します。

 

注意


 

関連

OnAutoItExitRegister

 


OnAutoItExitRegister("MyTestFunc")
OnAutoItExitRegister("MyTestFunc2")

Sleep(1000)

OnAutoItExitUnRegister("MyTestFunc")

Func MyTestFunc()
    MsgBox(64, "Exit Results 1", 'Exit Message from MyTestFunc()')
EndFunc

Func MyTestFunc2()
    MsgBox(64, "Exit Results 2", 'Exit Message from MyTestFunc()')
EndFunc