回复 2# autoit3CN
我的代码run("ULtralSO.exe")
WinWait("安装程序 - UltraISO","欢迎安装 UltraISO")
ControlClick("安装程序 - UltraISO","欢迎安装 UltraISO","TNewButton1")
WinWait("安装程序 - UltraISO","在继续前,请阅读以下重要信息:")
ControlClick("安装程序 - UltraISO","在继续前,请阅读以下重要信息:","TNewRadioButton1")
ControlClick("安装程序 - UltraISO","在继续前,请阅读以下重要信息:","TNewButton2")
WinWait("安装程序 - UltraISO","选择安装文件夹")
ControlClick("安装程序 - UltraISO","选择安装文件夹","TNewButton3")
WinWait("安装程序 - UltraISO","选择 开始 目录")
ControlClick("安装程序 - UltraISO","选择 开始 目录","TNewButton4")
WinWait("安装程序 - UltraISO","选择额外任务")
ControlClick("安装程序 - UltraISO","选择额外任务","TNewButton4")
WinWait("安装程序 - UltraISO","准备安装")
ControlClick("安装程序 - UltraISO","准备安装","TNewButton4")
WinWait("安装程序 - UltraISO","完成 UltraISO 安装向导")
ControlClick("安装程序 - UltraISO","完成 UltraISO 安装向导","TNewButton4")
WinWait("欢迎","订购UltraISO - 只需30元!")
ControlClick("欢迎","订购UltraISO - 只需30元!","TButton4")
WinWait("注册","取 消")
ControlClick("注册","取 消","TEdit1")
#Include <ACN_String.au3>
SendX('李明')
Send("509F-BA54-BBA6-73C5")
ControlClick("注册","取 消","TButton")
WinWait("提示","注册码已经录入,请重新运行程序!")
ControlClick("提示","注册码已经录入,请重新运行程序!","Button1")
来到
#Include <ACN_String.au3>
SendX('李明')
却不自动填写,为什么?下面是图片
|