[jawsscripts] Re: Need your advice on a JAWS scripting challenge

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 21 Mar 2012 22:43:03 -0400

JAWS, 13 or older, does not provide access to AccessibleChildren() per
se. You may be able to get what you want using .accChildCount and
childIDs; e.g., o.accName(3) for the name of the third object. Also
worth a try is something like o.accChild(3) for the third full object.
Finally, the JAWS functions for enumerating object properties into
text strings might be useful, if tedious and/or slow depending on your
needs.

On Wed, Mar 21, 2012 at 10:28:40PM -0400, Kamil wrote:
Hi all,

I'm dealing with a windows-based application which its whole user interface 
is one window (hwnd). It's exposing its controls through MSAA as objects.

The challenge it that even though controls are exposed as MSAA objects, the 
object navigation method (accNavigate) has not been implemented at all. This 
prevents me from scraping controls starting from the main and only window 
handle.

Windows API (oleacc.dll), has an "AccessibleChildren" function which 
enumerates all children of an object and returns an object array. I'm 
wondering if JAWS 13 provides access to this function.

I'm also open to any other solution to the above challenge.

Cheers,
Kamil 

__________???

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

-- 
Doug Lee, Senior Accessibility Programmer
SSB BART Group - Accessibility-on-Demand
mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: