找回密码
 加入
搜索
查看: 1955|回复: 0

[系统综合] 关于新版360安全卫士9.2安装时mouseclick点击右键问题

[复制链接]
发表于 2013-5-26 16:36:29 | 显示全部楼层 |阅读模式
本帖最后由 m765555 于 2013-5-26 16:41 编辑
WinMinimizeAll()
Run("setupbeta_9.2.0.1001p.exe")

WinWaitActive("360安全卫士","")
WinActivate("360安全卫士","")
ControlClick("360安全卫士","","[CLASS:Button; INSTANCE:3]")

WinWaitActive("360安全卫士","自定义安装:")
WinActivate("360安全卫士","自定义安装:")
ControlCommand("360安全卫士","自定义安装:","[CLASS:Button; INSTANCE:10]","UnCheck")
ControlCommand("360安全卫士","自定义安装:","[CLASS:Button; INSTANCE:11]","UnCheck")
ControlCommand("360安全卫士","自定义安装:","[CLASS:Button; INSTANCE:12]","UnCheck")
ControlClick("360安全卫士","","[CLASS:Button; INSTANCE:9]")

ProcessWait("360safe.exe")
ProcessClose("360safe.exe") 

ProcessWait("360preview.exe")
ProcessClose("360preview.exe")

ProcessWait("360tray.exe")
ProcessClose("360tray.exe") 

While 1
        If ProcessWaitClose("360preview.exe") And ProcessWaitClose("360safe.exe") Then
                ExitLoop
        EndIf        
Sleep(100)
WEnd
Sleep(3000)

;删除开始菜单的多余图标 开始
;Run('RunDll32 shell32.dll,Options_RunDLL 1')打开开始菜单的右键的.win7






FileDelete(@DesktopDir&"\360软件管家.lnk")


MouseMove(120, 755)
MouseDown("right")
MouseUp("right")
Send("{down 2}")
Send("{enter}")

MouseMove(120, 755)
MouseDown("right")
MouseUp("right")
Send("{down 4}")
Send("{enter}")
;删除开始菜单的多余图标 结束

MouseMove(953, 680)
MouseDown("right")
MouseUp("right")
Send("{down 7}")
Send("{enter}")

Exit 0
只能运行到40行代码处,后面从43行代码开始好像就不运行了,单独运行43行后面的代码感觉正常的。请教一下各位兄弟,研究一下看,代码错在哪里了?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-22 00:04 , Processed in 0.076246 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表