[jawsscripts] Accessing MSAA objects by index

  • From: "Mark A. DeMichele" <demi@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 22 Jan 2010 13:51:24 -0500

I'm writing a JAWs script where I get the count of children in an
object, and I want to analyze them.  I read in another post that you can
do something like this.
 

Let n = obj.accChildCount

 

And then from 1 to n do

 

Let o = obj(number)

 

However, when I do this, o does not seem to contain anything.

 

I looked at other uses of .accChildCount and in other places it seems
that they assume childIDs are integers from 1 to n, but in my case
that's not true.

 

Is there a way to access the children objects just based on their
position in the list?


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: