Function Reference


OnAutoItExitUnRegister

UnRegisters a function that was called when AutoIt exits.

OnAutoItExitUnRegister ( "function" )

Parameters

function The name of the user function that was called.

Return Value

Success: Returns 1.
Failure: Returns 0.

Remarks


Related

OnAutoItExitRegister

Example


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