Jump to content

WindowsAppTester

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by WindowsAppTester

  1. Here it is without the download Link... sorry about that I am new to the forum. Local $UIA_winApp = _UIA_getObjectByFindAll($UIA_oDesktop, "Title:=Generic Windows App;controltype:=UIA_WindowControlTypeId;class:=ApplicationFrameWindow", $treescope_subtree) Local $UIA_ListBox = _UIA_getObjectByFindAll($UIA_opt, "Title:=;controltype:=UIA_ListControlTypeId;class:=ListView", $treescope_subtree) Local $UIA_listItem = _UIA_getObjectByFindAll($UIA_opt, "Title:=Generic List Item;controltype:=UIA_TextControlTypeId;class:=TextBlock", $treescope_subtree) if isobj( $UIA_listItem) Then consolewrite ( "Choosing Item... " & @CRLF ) Else consolewrite ( "Error Item not found " ) exit EndIf _UIA_Action ( $UIA_listItem , "setfocus" ) _UIA_Action ( $UIA_listItem , "click" )
  2. @junkew Does The UIA Wrapper have functions that would take the place of GUICtrlListBox_SetCurSel so that I would be able to scroll and item into view. I am able to use the wrapper to select items that are in view but I cannot scroll to items that are not in view so Is there a way to accomplish this. Here is the code I have so far scrollThroughList.au3
×
×
  • Create New...