[program-l] Re: retrieving window information: UIA, MSAA, etc.

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 26 Mar 2012 11:09:34 -0500

Yes Windows can have MSAA objects tied to them. 
Check out the GetObjectFromEvents() function. It is a JAWS scripting
function which is also paralleled in windows, I think its actually a
function in oleacc.dll. (And JAWS script provides a wrapper for it but
obviously would be usable in C++ from the Dll.)

Also you may want to see Jamal's WinDig utility. I am unsure if it is open
source, but most of his utilities are.
http://EmpowermentZone.com/WinDig.htm

Also I am sure you already know about Inspect32.exe and UISpy.exe. but just
throwing them out as a reminder.

-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Littlefield, Tyler
Sent: Monday, March 26, 2012 10:32 AM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] retrieving window information: UIA, MSAA, etc.

Hello:
I've been doing a lot of automation lately and have also been looking into
doing some jaws scripting for a client.
I am writing a quick utility in c++ that will check for all the information
I need: it will retrieve all the information about the top-level window,
then recurse down from there, finding every control and every child control.
Getting information is easy enough, but I'm trying to find out also what
else needs to be referenced. Is it possible to retrieve MSAA/UIA information
for the window as well? I'm not really sure on how either of these work, so
I'm curious if it's something that's part of the window that the
author/windows sets by default, or if it's something else.

Thanks,

-- 

Take care,
Ty
Web: http://tds-solutions.net
The Aspen project: a light-weight barebones mud engine
http://code.google.com/p/aspenmud

Sent from my toaster.

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: