[jawsscripts] Re: Jaws reading mixed up info when doing SayAll

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 13 Feb 2010 22:04:30 -0900

My point was that it works if you move back to the top of the
document, so perhaps you should move back to the top in the manner
that works then skip back down to where your content is.  I was
suggesting that the existing scripts may offer clues about how to
accomplish that.

On 2/13/10, Mark A. DeMichele <demi@xxxxxxxxxxxxxx> wrote:
> It's not repeated.  It as if they didn't forget about stuff that used to be
> displayed and is no longer displayed.  Then it seems that it's read from
> left to right top to bottom so it's all garbled.
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Soronel Haetir
> Sent: Saturday, February 13, 2010 10:08 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: Jaws reading mixed up info when doing SayAll
>
> I would suggest looking through the IE scripts that ship with jfw11
> (if you have that) to see how they do the skip repeated content bit.
>
> On 2/13/10, Mark A. DeMichele <demi@xxxxxxxxxxxxxx> wrote:
>> I have an odd issue.  I'm adding some custom script on top of the latest
>> Flex/Flash scripts to get a flex application to do some special stuff in
>> IE.  My flex app essentially displays a "document".  It has a navigation
>> area which allows the user to change to another "document".  I wrote
>> some scripts to sense that change and when that happens I want jaws to
>> say the new document.  Here's the odd part.  I have the window handle to
>> the flash window within IE.  If I do something like the following,
>>
>>
>> MoveToWindow(hwnd)
>>
>> JawsPageUp()
>>
>> JawsHome()
>>
>> SayAll()
>>
>>
>>
>> Or just
>>
>>
>>
>> SayWindow(hwnd)
>>
>>
>>
>> It does two things I can't explain.  First, it reads the stuff from my
>> app in "screen order" (i.e., top to bottom, left to right), not in the
>> MSAA order I see the stuff in the MS Accessibility Explorer.  Also, and
>> this is worse, it's saying a garbled mess of stuff from all the
>> documents I loaded since then mix in with the current one.  It's as if
>> it's buffering stuff based on screen location and it's not ever getting
>> rid of it.  I used the AccEvent program to check that things were
>> getting destroyed and it seems they are, but for some reason, Jaws wants
>> to read them.
>>
>>
>>
>> If, however, I use this code
>>
>>
>>
>> JawsTopOfFile()
>>
>> SayAll()
>>
>>
>>
>> Then jaws reads everything as expected (no old document info).  However,
>> it says the entire IE window contents which I don't really want.  But
>> the order is fine.
>>
>>
>>
>> Is there something I'm doing wrong?  I'm a seasoned experienced
>> programmer, but I'm new to Jaws scripts so any technical information or
>> background would be greatly appreciated.  So far, I read both the basic
>> scripting manual and most of the FSDN manual, and to be honest, I'm
>> learning the most by reading through the scripts that were delivered
>> with jaws.  If anyone knows any other places to get good technical info,
>> that would be great.
>>
>>
>>
>> Thanks,
>>
>> Mark
>>
>>
>> __________
>> 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
>>
>>
>
>
> --
> Soronel Haetir
> soronel.haetir@xxxxxxxxx
> __________
> 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
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________ 
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: