marschall88 Posted January 28, 2020 Posted January 28, 2020 (edited) Hi, I need to get a object but function _UIA_getObjectByFindAll is getting first object in the list (edit) Also, that object is a gridView, how can I get data from that object? Local $oP5=_UIA_getObjectByFindAll($UIA_oDesktop, "Title:=StockBase POS 2033.797;controltype:=UIA_WindowControlTypeId;class:=ShellWindow", $treescope_children) _UIA_Action($oP5,"setfocus") Local $oP4=_UIA_getObjectByFindAll($oP5, "Title:=;controltype:=UIA_PaneControlTypeId;class:=MDIClient", $treescope_children) _UIA_Action($oP4,"setfocus") Local $oP3=_UIA_getObjectByFindAll($oP4, "Title:=;controltype:=UIA_WindowControlTypeId;class:=DocAppWindow", $treescope_children) _UIA_Action($oP3,"setfocus") Local $oP2=_UIA_getObjectByFindAll($oP3, "Title:=;controltype:=UIA_PaneControlTypeId;class:=WndAppWindow", $treescope_children) _UIA_Action($oP2,"setfocus") Local $oP1=_UIA_getObjectByFindAll($oP2, "Title:=;controltype:=UIA_PaneControlTypeId;class:=#32770", $treescope_children) _UIA_Action($oP1,"setfocus") Local $oP0=_UIA_getObjectByFindAll($oP1, "Title:=;controltype:=UIA_PaneControlTypeId;class:=_VOCustomControl", $treescope_children) _UIA_Action($oP0,"setfocus") Edited January 28, 2020 by marschall88
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now