Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Select more than 1 items after the other

$
0
0

Hi,

 

I am trying to select items with "Win" in its name. However, How about if it has to search texts with "History" AND "Win" at the same time?

 

Thanks

_GUICtrlTreeView_Expand(ControlGetHandle("[CLASS:HH Parent;TITLE:AutoIt Help]","", "[CLASS:SysTreeView32; INSTANCE:1]"),0, True) Global $hWnd = ControlGetHandle("[CLASS:HH Parent;TITLE:AutoIt Help]", "", "[CLASS:SysTreeView32; INSTANCE:1]") $searchText = "Win" $hItemFound = _GUICtrlTreeView_FindItem($hWnd, $searchText, True) While $hItemFound      _GUICtrlTreeView_SelectItem($hWnd, $hItemFound)    $next = _GUICtrlTreeView_GetNextVisible($hWnd, $hItemFound)    $hItemFound = _GUICtrlTreeView_FindItem($hWnd, $searchText, True, $next)    Sleep(1000) WEnd

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>