Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recording Window names instead of mouse coordinates?
#5
Gintaras Wrote:UIA has low priority in QM development because it adds almost nothing new to MSAA that QM need.
I understand. But, I have some applications developed with Delphi that are responding to IUIAutomationElement::SetFocus but not to MSAA SetFocus (actually I don't know if there is a SetFocus that belongs to MSAA, but it's whatever Visual Studio inspect.exe uses when in MSAA mode).

I found this out by using inspect.exe from Visual Studio, which has both a UIA and MSAA mode. I went through every single Window in the Delphi application tree in MSAA mode and executed MSAA Set Focus on them, and could not get the application to respond. But, the application responded to inspect.exe SetFocus when in UIA mode. So, I conclude from this that I will not be able to use QM to set control focus thru accessibility on this Delphi Application because QM uses only MSAA.

I am only one user and you must consider how many people need UIA, especially when MSAA works 95% of the time for 95% of them. I am just leaving this feedback for future consideration. Eventually you will need UIA but I guess it may be 5 years from now Smile.

I can probably figure out some solution with QM anyway using Win32 + text + client rect mouse clicking. My macros must use very little pixel positioning because I will develop for a wide variety of screen resolutions and DPI (/text size).


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)