Jump to content

_UIA_getObjectByFindAll does not find correct object

Recommended Posts


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)
    Local $oP4=_UIA_getObjectByFindAll($oP5, "Title:=;controltype:=UIA_PaneControlTypeId;class:=MDIClient", $treescope_children)
    Local $oP3=_UIA_getObjectByFindAll($oP4, "Title:=;controltype:=UIA_WindowControlTypeId;class:=DocAppWindow", $treescope_children)
    Local $oP2=_UIA_getObjectByFindAll($oP3, "Title:=;controltype:=UIA_PaneControlTypeId;class:=WndAppWindow", $treescope_children)
    Local $oP1=_UIA_getObjectByFindAll($oP2, "Title:=;controltype:=UIA_PaneControlTypeId;class:=#32770", $treescope_children)
    Local $oP0=_UIA_getObjectByFindAll($oP1, "Title:=;controltype:=UIA_PaneControlTypeId;class:=_VOCustomControl", $treescope_children)




Edited by marschall88

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...