|
直接运行没有问题 可是一编译exe就无限运行21.exe 大家帮我看看 ,谢谢了
#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 |
|