我再请教一个问题Run("control.exe netconnections")
WinWaitActive("网络连接","")
WinActivate("网络连接","")
Send("{SPACE}")
Send("!{ENTER}")
WinWaitActive("本地连接 属性","")
WinActivate("本地连接 属性","")
ControlClick("本地连接 属性","","Button1")
WinWaitActive("Realtek PCIe GBE Family Controller 属性","")
WinActivate("Realtek PCIe GBE Family Controller 属性","")
Send('^{TAB}')
WinWaitActive("Realtek PCIe GBE Family Controller","高级")
WinActivate("Realtek PCIe GBE Family Controller","高级")
Send('{DOWN 9}')
ControlClick("本地连接 属性","","Button1")
它没选中图片中的旁边的圆圈就停了,是不是Send('{DOWN 9}')之后还要WinWaitActive WinActivate之类的再ControlClick("本地连接 属性","","Button1"),试了好多方法都不行,我本想ControlClick("本地连接 属性","","Button1")之后再Send('!V')的,然后发送粘贴板的内容到窗口 |