关 键 字 参 考


#OnAutoItStartRegister

注册 AutoIt 启动时调用的函数.

#OnAutoItStartRegister "函数"

参 数

函数 用户函数名称.

备 注


相 关 函 数

OnAutoItExitRegister

函 数 示 例


#OnAutoItStartRegister "MyTestFunc"
#OnAutoItStartRegister "MyTestFunc2"

Sleep(1000)

Func MyTestFunc()
    MsgBox(64, "启动结果 2", 'MyTestFunc()启动消息')
EndFunc   ;==>MyTestFunc

Func MyTestFunc2()
    MsgBox(64, "启动结果 3", 'MyTestFunc()启动消息')
EndFunc   ;==>MyTestFunc2

provider with jb51.net (unicode)