waiwei

[Seems Solved]ControlHandle can be get by WindowInfoTool, cannot get by ControlGetHandle()

17 posts in this topic

#1 ·  Posted (edited)

In a stock software called "大智慧2",

When I try to get the handle of this Control (the quasi-window control in the large red box in the image below),

I found that the Window Info Tool can get its handle.

But when I try to use ControlGetHandle() with the attributes of that control given by WindowInfoTool ( e.g. Class and ID in the red circle), I just got 0x00000000.

 

57485cc9934c0_autoit1.thumb.jpg.eb3c52a5

the CODE is below:

________________________________________________________________________________________

$hWnd = WinGetHandle("[title:大智慧]") ;获取任务栏窗口的句柄
$hWnd2 = hwnd("0x00000000000B08A2")

 

$hCtrl = ControlGetHandle($hWnd,"","class:AfxFrameOrView100;instance:1;ID:59648")
$hCtrl1 = hwnd("0x0000000000010D58")

$i = 0
;WinSetState($hWnd, "", @SW_HIDE) ;使用任务栏句柄来隐藏任务栏
;Sleep(1000) ;休息1 秒
;WinSetState($hWnd, "", @SW_SHOW) ;恢复显示任务栏
msgbox(0,@error,$hWnd)
msgbox(0,@error,$hCtrl)

winactivate($hWnd)
winactivate($hWnd)
While $i<20
   $i=$i+1
ControlSend($hWnd,"",$hCtrl,"{DOWN}")
send($hWnd,"{DOWN}")
wend

 

________________________________________________________________________________________

Furthermore, when I directly use the Handle given by WindowInfoTool,  like below:

$hCtrl = hwnd("0x0000000000010D58")

and try to operate with the control:

ControlSend($hWnd,"",$hCtrl,"{DOWN}")

NOTHING HAPPENS.

Can anybody give some advice about that please?

 

Edited by waiwei

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Could you show us the code you wrote to get the Handle with the ID and the Class attributes ?

Edited by Jules

Share this post


Link to post
Share on other sites
$hCtrl = ControlGetHandle($hWnd,"","[class:AfxFrameOrView100;instance:1;ID:59648]")
;~ or like this
$hCtrl = ControlGetHandle($hWnd,"","[class:AfxFrameOrView100;instance:1]")

Try it this way.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

thank you all for reply.

I have tried all combinations of id, class, instance to get the handle.

unfortunately, it doesn't work.

Share this post


Link to post
Share on other sites
9 hours ago, BrewManNH said:
$hCtrl = ControlGetHandle($hWnd,"","[class:AfxFrameOrView100;instance:1;ID:59648]")
;~ or like this
$hCtrl = ControlGetHandle($hWnd,"","[class:AfxFrameOrView100;instance:1]")

Try it this way.

but the question is if this:

$hWnd = WinGetHandle("[title:大智慧]") ;获取任务栏窗口的句柄

Works correctly ?

So @waiwei what you see with this test snippet: 

$hWnd = WinGetHandle("大智慧") 
If @error Then MsgBox($MB_ICONERROR, 'NOT FOUND', '@error = ' & @error & @CRLF & '@extended = ' & @extended)

 


Wondering who uses AutoIT and what it can be used for ?


ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button:

Spoiler

Last update: 2017-05-03
Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAPPOP3.au3 UDF *  RTF Printer - UDF * XML.au3 - BETA * ADO.au3 UDF SMTP Mailer UDF * WinSCP UDF *

My contribution to others projects: * _sql.au3 UDF  *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Best coding practices * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

 

Share this post


Link to post
Share on other sites

And try iuiautomation and simple spij. See reference in faq 31

Share this post


Link to post
Share on other sites
On 2016/5/28 at 9:38 AM, mLipok said:

but the question is if this:

$hWnd = WinGetHandle("[title:大智慧]") ;获取任务栏窗口的句柄

Works correctly ?

So @waiwei what you see with this test snippet: 

$hWnd = WinGetHandle("大智慧") 
If @error Then MsgBox($MB_ICONERROR, 'NOT FOUND', '@error = ' & @error & @CRLF & '@extended = ' & @extended)

 

Thank you very much for your reply.

However, WinGetHandle gets no error, while @error after ControlGetHandle returns 1.

$hWnd = WinGetHandle("[title:大智慧]") ;获取任务栏窗口的句柄
If @error Then MsgBox(16, 'window NOT FOUND', '@error = ' & @error & @CRLF & '@extended = ' & @extended)
$hWnd2 = hwnd("0x00000000001A0AF8")

 

$hCtrl1 = ControlGetHandle($hWnd,"","class:AfxFrameOrView100;instance:1")
If @error Then MsgBox(16, 'handle NOT FOUND', '@error = ' & @error & @CRLF)
$hCtrl = hwnd("0x0000000000020E2A")

 

Share this post


Link to post
Share on other sites
On 2016/5/28 at 8:16 PM, junkew said:

And try iuiautomation and simple spij. See reference in faq 31

Thank you very much for your wonderful work and your help!

I strongly believe that your great framework could solve my problem, since the windows in THAT application is Afx.

I am learning IUIA now.

 

However, I encountered some unexpected errors in the examples.


Example 1 Iterating thru the different ways of representing the objects in the tree

Here is the errorlog.

"H:\Biz1\????\Autoit.Files\IUIA Files\temp.au3" (42) : ==> Variable used without being declared.:
if $t = 1 then $objUIAutomation.RawViewWalker($pTW)
if $t = 1 then ^ ERROR

 

I think $objUIAutomation.RawViewWalker wasn't loaded?

 

 

 

 

 

Share this post


Link to post
Share on other sites

I tried to find THAT application window by _UIA_getObjectByFindAll

Spoiler

#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <constants.au3>
#include <WinAPI.au3>
#include <debug.au3>
#include "CUIAutomation2.au3"
#include "UIAWrappers.au3"

#AutoIt3Wrapper_UseX64=N  ;Should be used for stuff like tagpoint having right struct etc. when running on a 64 bits os

Local $oP2=_UIA_getObjectByFindAll($UIA_oDesktop, "Title:=自选股;controltype:=UIA_WindowControlTypeId;class:=Afx:00E50000:b:00010003:00000006:00A90BD3", $treescope_children)
$oP2.setfocus()

In simplespy, I got the window info as follow:

"Title:=自选股;controltype:=UIA_WindowControlTypeId;class:=Afx:00E50000:b:00010003:00000006:00A90BD3"   

574ae97587f86_autoit2.jpg.ede4be92eca7e6

 

 

However, I can not set focus on it.

>"D:\110应用\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "H:\Biz1\软件开发\Autoit.Files\IUIA Files\temp.au3"    
"H:\Biz1\????\Autoit.Files\IUIA Files\temp.au3" (14) : ==> Variable must be of type "Object".:
$oP2.setfocus()
$oP2^ ERROR
>Exit code: 1    Time: 1.127

 

If use the same method on explorer, it is okay.

Spoiler


#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <constants.au3>
#include <WinAPI.au3>
#include <debug.au3>
#include "CUIAutomation2.au3"
#include "UIAWrappers.au3"

#AutoIt3Wrapper_UseX64=N  ;Should be used for stuff like tagpoint having right struct etc. when running on a 64 bits os

Local $oP2=_UIA_getObjectByFindAll($UIA_oDesktop, "Title:=net", $treescope_children) ;net is a folder name in my computer.
$oP2.setfocus()

 

 

 

 

 

Share this post


Link to post
Share on other sites

On the code following:

Spoiler

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

Local $oP2=_UIA_getObjectByFindAll($UIA_oDesktop, "Title:=大智慧;controltype:=UIA_WindowControlTypeId;class:=Afx:00E50000:8:00010003:00000000:00150D89", $treescope_children)

Local $oP1=_UIA_getObjectByFindAll($oP2, "Title:=工作区;controltype:=UIA_PaneControlTypeId;class:=MDIClient", $treescope_children)

Local $oP0=_UIA_getObjectByFindAll($oP1, "Title:=自选股;controltype:=UIA_WindowControlTypeId;class:=Afx:00E50000:b:00010003:00000006:00A90BD3", $treescope_children)
_uiA_Action($oP0,"setfocus")
;($oP0有效只是无法controlsend)其实无效,无法将“自选股”setfocus。如果是行情图在前面,自选股不会到最前

Consolewrite(hwnd($op0))

_UIA_Action($oP0,"sendkeys","{DOWN}")
controlsend($op2,"",$op2,"{DOWN}")
controlsend("大智慧","",$op2,"{DOWN}")
controlsend("大智慧","",$op2,"{DOWN}")
controlsend("大智慧","",$op0,"{DOWN}")
controlsend($oP0,"",$op0,"{DOWN}")

 

I could setfocus on $op0, which  in fact set focus to $op2 (the grandparent window, or the highest hierachy window)

but, hwnd($op0) is still 0x00000000 and I am unable to controlsend to $op0

(which is essential, since I need to manipulte the application to retrieve data, while run other programs)

 

Share this post


Link to post
Share on other sites

I have changed another version of that APPLICATION, so the following 2 lines are applicable

 

$hWnd2 = hwnd("0x00000000001A0AF8")

ControlSend($hWnd2,"",$hCtrl,"{DOWN}")

 

The only problem now, is that I cannot get the valid Controlhandle of it.

(using ControlGetHandle or _UIA_getObjectByFindAll)

 

 

Share this post


Link to post
Share on other sites

It is clear that Window info tool and simplyspy got the same handle, but ControlGetHandle or _UIA_getObjectByFindAll  can not get it.

574af89b4e978_autoit3.jpg.42e6b952eedb31574af89e309cc_autoit4.jpg.27210809d89376

Share this post


Link to post
Share on other sites

I use the class info which simply spy gives to me

"class:=Afx:00E50000:b:00010003:00000006:00A90BD3"

on ControlGetHandle().

Didn't work, either.

 

#AutoIt3Wrapper_UseX64=Y

$hWnd = WinGetHandle("[title:大智慧]") ;获取任务栏窗口的句柄
If @error Then MsgBox(16, 'window NOT FOUND', '@error = ' & @error & @CRLF & '@extended = ' & @extended)
$hWnd2 = hwnd("0x00000000001A0AF8")

 

$hCtrl = ControlGetHandle($hWnd,"","class:=Afx:00E50000:b:00010003:00000006:00A90BD3")
If @error Then MsgBox(16, 'handle NOT FOUND', '@error = ' & @error & @CRLF)
$hCtrl1 = hwnd("0x0000000000020E2A")

Share this post


Link to post
Share on other sites

Suddlenly I think that when YOU give me the source code of simply spy, and simply spy can get the ControlHandle,

why not retrieve some code in "simplyspy.au3"?

unfortunately I can't find "UIA_handle:=" in that file. keep trying.

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

Local $oP0=_UIA_getObjectByFindAll($oP1, "Title:=自选股;controltype:=UIA_WindowControlTypeId;class:=Afx:00E50000:b:00010003:00000006:00A90BD3", $treescope_children)

local $text1=  @CRLF & _UIA_getAllPropertyValues($op0)


consolewrite($text1)







UIA_iaccessiblechildId:= <0>
UIA_id:= <65280>
UIA_handle:= <200034>
UIA_RuntimeId:= <42;200034>




I found that this time I got a different UIA_handle than simplespy got.




________________________________result to my code________________________________

UIA_title:= <自选股>
UIA_text:= <自选股>
UIA_regexptitle:= <自选股>
UIA_class:= <Afx:00E50000:b:00010003:00000006:00A90BD3>
UIA_regexpclass:= <Afx:00E50000:b:00010003:00000006:00A90BD3>
UIA_iaccessiblechildId:= <0>
UIA_id:= <65280>
UIA_handle:= <200034>
UIA_RuntimeId:= <42;200034>
UIA_BoundingRectangle:= <69;140;1150;481>
UIA_ProcessId:= <29644>
UIA_ControlType:= <50032>
UIA_LocalizedControlType:= <窗口>
UIA_Name:= <自选股>
UIA_HasKeyboardFocus:= <False>
UIA_IsKeyboardFocusable:= <True>
UIA_IsEnabled:= <True>
UIA_AutomationId:= <65280>
UIA_ClassName:= <Afx:00E50000:b:00010003:00000006:00A90BD3>
UIA_Culture:= <0>
UIA_IsControlElement:= <True>
UIA_IsContentElement:= <True>
UIA_IsPassword:= <False>
UIA_NativeWindowHandle:= <200034>
UIA_IsOffscreen:= <False>
UIA_Orientation:= <0>
UIA_FrameworkId:= <Win32>
UIA_IsRequiredForForm:= <False>
UIA_IsDockPatternAvailable:= <False>
UIA_IsExpandCollapsePatternAvailable:= <False>
UIA_IsGridItemPatternAvailable:= <False>
UIA_IsGridPatternAvailable:= <False>
UIA_IsInvokePatternAvailable:= <False>
UIA_IsMultipleViewPatternAvailable:= <False>
UIA_IsRangeValuePatternAvailable:= <False>
UIA_IsScrollPatternAvailable:= <False>
UIA_IsScrollItemPatternAvailable:= <False>
UIA_IsSelectionItemPatternAvailable:= <False>
UIA_IsSelectionPatternAvailable:= <False>
UIA_IsTablePatternAvailable:= <False>
UIA_IsTableItemPatternAvailable:= <False>
UIA_IsTextPatternAvailable:= <False>
UIA_IsTogglePatternAvailable:= <False>
UIA_IsTransformPatternAvailable:= <True>
UIA_IsValuePatternAvailable:= <False>
UIA_IsWindowPatternAvailable:= <True>
UIA_ValueIsReadOnly:= <True>
UIA_RangeValueValue:= <0>
UIA_RangeValueIsReadOnly:= <True>
UIA_RangeValueMinimum:= <0>
UIA_RangeValueMaximum:= <0>
UIA_RangeValueLargeChange:= <0>
UIA_RangeValueSmallChange:= <0>
UIA_ScrollHorizontalScrollPercent:= <0>
UIA_ScrollHorizontalViewSize:= <100>
UIA_ScrollVerticalScrollPercent:= <0>
UIA_ScrollVerticalViewSize:= <100>
UIA_ScrollHorizontallyScrollable:= <False>
UIA_ScrollVerticallyScrollable:= <False>
UIA_SelectionCanSelectMultiple:= <False>
UIA_SelectionIsSelectionRequired:= <False>
UIA_GridRowCount:= <0>
UIA_GridColumnCount:= <0>
UIA_GridItemRow:= <0>
UIA_GridItemColumn:= <0>
UIA_GridItemRowSpan:= <1>
UIA_GridItemColumnSpan:= <1>
UIA_DockDockPosition:= <5>
UIA_ExpandCollapseExpandCollapseState:= <3>
UIA_MultipleViewCurrentView:= <0>
UIA_WindowCanMaximize:= <True>
UIA_WindowCanMinimize:= <True>
UIA_WindowWindowVisualState:= <0>
UIA_WindowWindowInteractionState:= <2>
UIA_WindowIsModal:= <False>
UIA_WindowIsTopmost:= <False>
UIA_SelectionItemIsSelected:= <False>
UIA_TableRowOrColumnMajor:= <2>
UIA_ToggleToggleState:= <2>
UIA_TransformCanMove:= <True>
UIA_TransformCanResize:= <True>
UIA_TransformCanRotate:= <False>
UIA_IsLegacyIAccessiblePatternAvailable:= <True>
UIA_LegacyIAccessibleChildId:= <0>
UIA_LegacyIAccessibleName:= <自选股>
UIA_LegacyIAccessibleRole:= <10>
UIA_LegacyIAccessibleState:= <1048576>
UIA_IsDataValidForForm:= <False>
UIA_ProviderDescription:= <[pid:48052,hwnd:0x30D62 Main:Nested [pid:29644,hwnd:0x30D62 Annotation(parent link):Microsoft: Annotation Proxy (unmanaged:uiautomationcore.dll); Main:Microsoft: MSAA Proxy (unmanaged:uiautomationcore.dll)]; Nonclient:Microsoft: Non-Client Proxy (unmanaged:uiautomationcore.dll); Hwnd(parent link):Microsoft: HWND Proxy (unmanaged:uiautomationcore.dll)]>
UIA_IsItemContainerPatternAvailable:= <False>
UIA_IsVirtualizedItemPatternAvailable:= <False>
UIA_IsSynchronizedInputPatternAvailable:= <False>
>Exit code: 0    Time: 1.891


______________________________________________Result given by simplespy____________________________________

UIA_class:= <AfxFrameOrView100>
UIA_regexpclass:= <AfxFrameOrView100>
UIA_iaccessiblechildId:= <0>
UIA_id:= <59648>
UIA_handle:= <265548>
UIA_RuntimeId:= <42;265548>
UIA_BoundingRectangle:= <72;156;1144;462>
UIA_ProcessId:= <29644>
UIA_ControlType:= <50033>
UIA_LocalizedControlType:= <窗格>
UIA_HasKeyboardFocus:= <True>
UIA_IsKeyboardFocusable:= <True>
UIA_IsEnabled:= <True>
UIA_AutomationId:= <59648>
UIA_ClassName:= <AfxFrameOrView100>
UIA_Culture:= <0>
UIA_IsControlElement:= <True>
UIA_IsContentElement:= <True>
UIA_IsPassword:= <False>
UIA_NativeWindowHandle:= <265548>
UIA_IsOffscreen:= <False>
UIA_Orientation:= <0>
UIA_FrameworkId:= <Win32>
UIA_IsRequiredForForm:= <False>
UIA_IsDockPatternAvailable:= <False>
UIA_IsExpandCollapsePatternAvailable:= <False>
UIA_IsGridItemPatternAvailable:= <False>
UIA_IsGridPatternAvailable:= <False>
UIA_IsInvokePatternAvailable:= <False>
UIA_IsMultipleViewPatternAvailable:= <False>
UIA_IsRangeValuePatternAvailable:= <False>
UIA_IsScrollPatternAvailable:= <False>
UIA_IsScrollItemPatternAvailable:= <False>
UIA_IsSelectionItemPatternAvailable:= <False>
UIA_IsSelectionPatternAvailable:= <False>
UIA_IsTablePatternAvailable:= <False>
UIA_IsTableItemPatternAvailable:= <False>
UIA_IsTextPatternAvailable:= <False>
UIA_IsTogglePatternAvailable:= <False>
UIA_IsTransformPatternAvailable:= <False>
UIA_IsValuePatternAvailable:= <False>
UIA_IsWindowPatternAvailable:= <False>
UIA_ValueIsReadOnly:= <True>
UIA_RangeValueValue:= <0>
UIA_RangeValueIsReadOnly:= <True>
UIA_RangeValueMinimum:= <0>
UIA_RangeValueMaximum:= <0>
UIA_RangeValueLargeChange:= <0>
UIA_RangeValueSmallChange:= <0>
UIA_ScrollHorizontalScrollPercent:= <0>
UIA_ScrollHorizontalViewSize:= <100>
UIA_ScrollVerticalScrollPercent:= <0>
UIA_ScrollVerticalViewSize:= <100>
UIA_ScrollHorizontallyScrollable:= <False>
UIA_ScrollVerticallyScrollable:= <False>
UIA_SelectionCanSelectMultiple:= <False>
UIA_SelectionIsSelectionRequired:= <False>
UIA_GridRowCount:= <0>
UIA_GridColumnCount:= <0>
UIA_GridItemRow:= <0>
UIA_GridItemColumn:= <0>
UIA_GridItemRowSpan:= <1>
UIA_GridItemColumnSpan:= <1>
UIA_DockDockPosition:= <5>
UIA_ExpandCollapseExpandCollapseState:= <3>
UIA_MultipleViewCurrentView:= <0>
UIA_WindowCanMaximize:= <False>
UIA_WindowCanMinimize:= <False>
UIA_WindowWindowVisualState:= <0>
UIA_WindowWindowInteractionState:= <0>
UIA_WindowIsModal:= <False>
UIA_WindowIsTopmost:= <False>
UIA_SelectionItemIsSelected:= <False>
UIA_TableRowOrColumnMajor:= <2>
UIA_ToggleToggleState:= <2>
UIA_TransformCanMove:= <False>
UIA_TransformCanResize:= <False>
UIA_TransformCanRotate:= <False>
UIA_IsLegacyIAccessiblePatternAvailable:= <True>
UIA_LegacyIAccessibleChildId:= <0>
UIA_LegacyIAccessibleRole:= <10>
UIA_LegacyIAccessibleState:= <1048580>
UIA_IsDataValidForForm:= <False>
UIA_ProviderDescription:= <[pid:47264,hwnd:0x40D4C Main:Nested [pid:29644,hwnd:0x40D4C Annotation(parent link):Microsoft: Annotation Proxy (unmanaged:uiautomationcore.dll); Main:Microsoft: MSAA Proxy (unmanaged:uiautomationcore.dll)]; Hwnd(parent link):Microsoft: HWND Proxy (unmanaged:uiautomationcore.dll)]>
UIA_IsItemContainerPatternAvailable:= <False>
UIA_IsVirtualizedItemPatternAvailable:= <False>
UIA_IsSynchronizedInputPatternAvailable:= <False>

 

 

Edited by Melba23
Added tags

Share this post


Link to post
Share on other sites

Seems solved.

I have referred the parent window of what I want.

Thank you very much junkew

 

Share this post


Link to post
Share on other sites

no problem. simplespy source code is in the thread. Probably will not help as it does a getobjectfrompoint logic.

As you say both AU3INF and SimpleSpy recognize the window it should be possible eiter with native Autoit and IUIA to iterate to the windows

 

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