|
本帖最后由 xz00311 于 2014-11-24 10:01 编辑
#Include <GuiListView.au3>
Local $xiaozhan ,$xiaoxiao, $count ,$aList, $x
$xiaozhan = ControlGetHandle ( "Device List", "", "[ID:1056]")
MsgBox(4096, "测试",$xiaozhan)
$xiaoxiao = _GUICtrlListView_GetISearchString($xiaozhan)
$count = _GUICtrlListView_GetItemCount($xiaozhan)
$aList = _GUICtrlListView_GetItemText($xiaozhan,0)
;MsgBox(4160, "Information", "Item Count: " & _GUICtrlListView_GetItemCount($xiaozhan))
For $x = 0 To $count-1
$aList = _GUICtrlListView_GetItemText($xiaozhan,$x)
if $aList = "FT-220W" Then
_GUICtrlListView_ClickItem( $xiaozhan, $x ,"left","",2)
ConsoleWrite( $aList & @CRLF )
EndIf
Next |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入
×
|