如何用ControlListView 点击桌面的 我的电脑图标?
WinActivate("Program Manager", "FolderView")$a1 = ControlListView("Program Manager", "FolderView", "SysListView321", "SelectClear")
$a1 = ControlListView("Program Manager", "FolderView", "SysListView321", "FindItem", "我的电脑")
ControlListView("Program Manager", "FolderView", "SysListView321", "Select", $a1)
然后我用send 有时候会点不进去 有没有更好的办法? WinActivate("Program Manager", "FolderView")
$a1 = ControlListView("Program Manager", "FolderView", "SysListView321", "FindItem", "我的电脑")
ControlListView("Program Manager", "FolderView", "SysListView321", "Select", $a1) 学习{:face (114):} 回复 2# lixiaolong
WinActivate("Program Manager", "FolderView")
ControlListView("Program Manager", "FolderView", "SysListView321", "Select", $a1)
只能选择 不能双击啊 本帖最后由 lixiaolong 于 2011-1-7 23:58 编辑
回复 4# lele9013
这个不行吗?
WinActivate("Program Manager", "FolderView")
$a1 = ControlListView("Program Manager", "FolderView", "SysListView321", "FindItem", "腾讯QQ")
ControlListView("Program Manager", "FolderView", "SysListView321", "Select", $a1)
Send("{Enter}") 回复 5# lixiaolong
x可以但有时候会打不开准确率不高 所以想问下有没有其他方法
在win7里面 是肯定不能打开了 回复 6# lele9013
加个判断,先试这个,如果打不开加个Sleep试试.
WinActivate("Program Manager", "FolderView")
$a1 = ControlListView("Program Manager", "FolderView", "SysListView321", "Select", "计算机")
;~ Sleep(500)
If $a1 = 1 Then Send("{Enter}");Send("{Enter 2}")
页:
[1]