Keyword Reference

#OnAutoItStartRegister

Registers a function to be called when AutoIt starts.

#OnAutoItStartRegister "function"

 

Parameters

function The name of the user function to call.

 

Remarks


 

Related

 

Example


#OnAutoItStartRegister "MyTestFunc"
#OnAutoItStartRegister "MyTestFunc2"

Sleep(1000)

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

Func MyTestFunc2()
    MsgBox(64, "Start Results 3", 'Start Message from MyTestFunc()')
EndFunc