[jawsscripts] Re: AW: Re: AW: [!!Mass Mail]Re: Focus changed event and new text event not picking up on window change?

  • From: "Snowman" <snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 2 May 2016 14:29:52 -0500

I think RoutePCToJAWS essentially does a single left click at the mouse 
location.  So, maybe you can use FindString to find the text, and then, if 
the find is successful,  LeftMouseButton to click it once to bring focus to 
it.

----- Original Message ----- 
From: "Steve S" <stevespamer68@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, May 02, 2016 10:36 AM
Subject: [jawsscripts] Re: AW: Re: AW: [!!Mass Mail]Re: Focus changed event 
and new text event not picking up on window change?


Hi Richard and thanks for the explanation and code to try. Unfortunately,
Jaws keeps his mouth shut and refuses to say anything when this window is
opened for the first time automatically. .  Other windows work fine.

I've got it working, but not just with Jaws script, which I'd like to do,
but with a bit of HSC as well.

When this window opens, I call a hotspot which can locate a unique string
and simply routing Pc to Jaws brings the window into focus.  With Jaws
script, which HSC essentially is, it just refuses to do.  Now I am not an
advanced scripter, just a relative beginner, so it's quite possible it's
something I'm doing, but as I need to get stuff working, I use whatever
method yields results at the moment, but your knowledge, help and advice is
really appreciated, best Steve.

-----Original Message----- 
From: IPDGmbH
Sent: Monday, May 02, 2016 8:20 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] AW: Re: AW: [!!Mass Mail]Re: Focus changed event and
new text event not picking up on window change?

Hi Steve,

void function ScreenStabilizedEvent(handle hwndLastScreenWrite) fires, when
things calm down on the screen. So, when windows have been created, text
displayed, the mouse pointer has come to rest, window animations have been
performed, all sorts of stuff where the screen stabilices.
hwndLastScreenWrite is the variable, wich holds the window handle to the
window, where the last calm down process occoured. Just put

void function ScreenStabilizedEvent(handle hwndLastScreenWrite)
SayString(getWindowText (hwndLastScreenWrite, READ_EVERYTHING)) EndFunction

And test, if Your Window contents is spoken.

HTH

Richard
__________�

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

__________�

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



__________�

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

Other related posts: