gm860419 发表于 2012-10-17 08:34:47

刚学AU3,看别人的东西,自己做了一个测试,大侠帮我看看

直接运行没有问题 可是一编译exe就无限运行21.exe大家帮我看看 ,谢谢了{:face (319):}



#RequireAdmin
Run("21.exe")
WinWait("多米音乐v0.3.8 安装","下一步(&N) >")
$array = WinGetPos("多米音乐v0.3.8 安装")
ControlSend("多米音乐v0.3.8 安装","下一步(&N) >","","!n")
WinWait("多米音乐v0.3.8 安装","我接受(&I)")
ControlSend("多米音乐v0.3.8 安装","我接受(&I)","","!i")
ControlCommand("","创建开始菜单程序组快捷方式","Button4","UnCheck")
ControlCommand("多米音乐v0.3.8 安装","创建桌面快捷方式","Button5","UnCheck")
ControlCommand("多米音乐v0.3.8 安装","创建快速启动栏快捷方式","Button6","UnCheck")
WinWait("多米音乐v0.3.8 安装","下一步(&N) >")
ControlSend("多米音乐v0.3.8 安装","下一步(&N) >","","!n")
WinWait("多米音乐v0.3.8 安装","目标文件夹")
ControlSetText("多米音乐v0.3.8 安装","目标文件夹","Edit1","d:\1")
ControlClick("多米音乐v0.3.8 安装","安装(&I)","Button2")
WinWait("多米音乐v0.3.8 安装","完成(&F)")
ControlClick("多米音乐v0.3.8 安装","完成(&F)","Button2")
Exit
页: [1]
查看完整版本: 刚学AU3,看别人的东西,自己做了一个测试,大侠帮我看看