Jump to content

Help with IUIAutomation


Tartut
 Share

Recommended Posts

Hi,
I use IUIAutomation. Thread: https://www.autoitscript.com/forum/topic/153520-iuiautomation-ms-framework-automate-chrome-ff-ie/
I would like read a list from box.

Bez tytułu.png

I would like read a Date and String. I use this code, but i don't know what is next.

#include "UIAWrappers.au3"
AutoItSetOption("MustDeclareVars", 0)

Local $oP3 = _UIA_getObjectByFindAll($UIA_oDesktop, "class:=MetaQuotes::MetaTrader::4.00", $treescope_children)
Local $oP2 = _UIA_getObjectByFindAll($oP3, "controltype:=UIA_WindowControlTypeId;class:=#32770", $treescope_children)
Local $oP1 = _UIA_getObjectByFindAll($oP2, "controltype:=UIA_ListControlTypeId;class:=SysListView32", $treescope_children)
Local $oP0 = _UIA_getObjectByFindAll($oP1, "controltype:=UIA_ListItemControlTypeId", $treescope_children)
Local $oUIElement = _UIA_getObjectByFindAll($oP0, "ControlType:=UIA_TextControlTypeId", $treescope_subtree)

 I'm adding a LOG file in attach. I don't know how i can reading this object. :/

20170409-203751255.XML

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...