|
本帖最后由 gm860419 于 2012-10-21 00:21 编辑
[au3]#RequireAdmin
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#PRE_Icon=D:\图标\QQ拼音输入法_4.5.ico
#PRE_UseUpx=n
#PRE_Res_Comment=QQ拼音输入法
#PRE_Res_Description=QQ拼音输入法_4.5.exe
#PRE_Res_Fileversion=4.5.0.0
#PRE_Res_LegalCopyright=QQ拼音输入法
#PRE_Res_requestedExecutionLevel=None
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_Run_Debug_Mode=y
TrayTip("QQ拼音输入法_4.5.exe","在此期间请勿进行键盘鼠标操作...","",1)
Sleep(2000)
FileInstall("QQ拼音输入法_4.5.exe",@TempDir&"\QQ拼音输入法_4.5.exe",1)
Run("QQ拼音输入法_4.5.exe")
Sleep(2000)
Local $hwnd = WinWait("QQ拼音输入法4.5安装向导","是(&Y)",4)
If IsHWnd($hwnd) Then
WinActivate("QQ拼音输入法4.5安装向导","是(&Y)")
ControlClick("QQ拼音输入法4.5安装向导","是(&Y)", "Button1")
EndIf
WinWait("QQ拼音输入法4.5安装向导","下一步(&N) >")
WinActivate("QQ拼音输入法4.5安装向导","下一步(&N) >")
ControlClick("QQ拼音输入法4.5安装向导","下一步(&N) >","Button2")
WinWait("QQ拼音输入法4.5安装向导","我接受(&I)")
WinActivate("QQ拼音输入法4.5安装向导","我接受(&I)")
ControlClick("QQ拼音输入法4.5安装向导","我接受(&I)","Button2")
WinWait("QQ拼音输入法4.5安装向导","安装(&I)")
WinActivate("QQ拼音输入法4.5安装向导","安装(&I)")
ControlClick("QQ拼音输入法4.5安装向导","安装(&I)","Button2")
Sleep(20000)
WinWait("QQ拼音输入法4.5安装向导","下一步(&N) >")
WinActivate("QQ拼音输入法4.5安装向导","下一步(&N) >")
ControlClick("QQ拼音输入法4.5安装向导","下一步(&N) >","Button2")
Sleep(2000)
WinWait("QQ拼音输入法4.5安装向导 ","独享QQ等级双倍加速 使用电脑管家保护帐号安全")
WinActivate("QQ拼音输入法4.5安装向导 ","独享QQ等级双倍加速 使用电脑管家保护帐号安全")
ControlClick("QQ拼音输入法4.5安装向导 ","独享QQ等级双倍加速 使用电脑管家保护帐号安全","Button6")
WinWait("QQ拼音输入法4.5安装向导","完成")
WinActivate("QQ拼音输入法4.5安装向导","完成")
ControlClick("QQ拼音输入法4.5安装向导","完成","Button2")
[\au3] |
|