[jawsscripts] Re: Accessing MSAA objects by index

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 15 Feb 2010 08:42:30 -0500

Interesting.  I suspect that Adobe is not implementing an MSAA server 
correctly.  I realize that doesn't help you much at this point.  Have 
you been able to get in touch with Andrew Kirkpatrick (spelling?) at 
Adobe?  I think he is the accessibility lead these days.

Jamal


On 2/14/2010 9:33 AM, Mark A. DeMichele wrote:
> Yes, if I could send you a screen shot of the AccExplorer I could prove
> it, but I don't think the userlist supports attachments.
>
> In flex you can create an Accessibility implementation for an object.
> In that implementation you can return an array of "child ids".  In my
> case, I'm returning 1,2,3,...n.  However, when flash is done with them,
> it apparently tags on a large number so you wind up with stuff like
> 100400001, 100400002, 100400003, 10040000n.  My guess is that for some
> reason flash wants to keep all children ids unique within the
> application.  Why, I don't know, but I'm stuck with it.  For this reason
> I can't assume that childIDs go from 1 to n.
>
>
> -----Original Message-----
> From: Jamal Mazrui [mailto:empower@xxxxxxxxx]
> Sent: Sunday, February 14, 2010 9:01 AM
> To: jawsscripts@xxxxxxxxxxxxx
> Cc: Mark A. DeMichele
> Subject: Re: [jawsscripts] Re: Accessing MSAA objects by index
>
> I have never seen NSAA child IDs not be in a sequential order related to
>
> a particular parent.  Are you sure about that?
>
> Jamal
>
>
> On 2/13/2010 6:53 PM, Mark A. DeMichele wrote:
>> This doesn't seem to work when the IDs are not ordinal.  In my case
> the IDs are not 1,2,3...n and I don't know what they are, I just know
> that there are N children.  For what I'm doing the accNavigate does seem
> to work ok.   It's odd that Jaws doesn't give you a way to locate the
> "Nth" child though.
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Bauer
>> Sent: Friday, January 22, 2010 3:26 PM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: Accessing MSAA objects by index
>>
>> Or:
>> let o = o.accChild(1).accChild(n)
>> "Travis Roth"<travis@xxxxxxxxxxxxxx>   wrote on Fri, 22 Jan 2010
>> 13:07:06 -0600:
>>
>>> Hi Mark,
>>>
>>> JAWS cannot handle arrays, so I doubt that code will work.
>>>
>>> To get to a specific child you can write a function that'd loop
> through the
>>> children the specified amount of times.
>>> To get to any specific child
>>>
>>> let object = object.accNavigate(7,0); (move to first child)
>>> and then just move along those objects with a
>>> let object = object.accNavigate(5,0) ;(move to next object)
>>>
>>>
>>> as many times as you need.
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mark A.
> DeMichele
>>> Sent: Friday, January 22, 2010 12:51 PM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] Accessing MSAA objects by index
>>>
>>> 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
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>> __________
>>> Visit and contribute to The JAWS Script Repository
> http://jawsscripts.com
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>
>> __________
>> Visit and contribute to The JAWS Script Repository
> http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>> __________
>> Visit and contribute to The JAWS Script Repository
> http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: