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

  • From: Richard Emling IPD GmbH <Richard.Emling@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 2 May 2016 09:17:57 +0200

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
-----Ursprüngliche Nachricht-----
Von: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] ;
Im Auftrag von Steve S
Gesendet: Freitag, 29. April 2016 23:11
An: jawsscripts@xxxxxxxxxxxxx
Betreff: [jawsscripts] Re: AW: [!!Mass Mail]Re: Focus changed event and new 
text event not picking up on window change?

Richard thanks. Any chance you could put a little more meat on the bones for 
me?, as I'm not an advanced scripter, but learning the hard way <grin. Best 
steve.

-----Original Message----- 
From: IPDGmbH
Sent: Friday, April 29, 2016 1:50 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] AW: [!!Mass Mail]Re: Focus changed event and new text 
event not picking up on window change?

Hi,

My suggestion:
void function ScreenStabilizedEvent(handle hwndLastScreenWrite)

hth

Richard

-----Ursprüngliche Nachricht-----
Von: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] Im Auftrag von Doug Lee
Gesendet: Freitag, 29. April 2016 14:05
An: jawsscripts@xxxxxxxxxxxxx
Betreff: [!!Mass Mail][jawsscripts] Re: Focus changed event and new text 
event not picking up on window change?

If it's a popup or dialog, maybe WindowActivatedEvent? WindowCreatedEvent 
may also help you, but be careful
not to put too much time-consuming code in that one because it's called a 
lot... for example, if a dialog pops
up with seven groups of 50 fields in all, WindowCreatedEvent may get called 
ove 60 times in one second.

On Fri, Apr 29, 2016 at 12:49:46PM +0100, Steve S wrote:
Hi folks. I have a window that opens in this application, but focus changed 
event or new text event doesn't pick it up, so focus isn't gained until you 
manually do it.  now all the information etc is on screen and I can get all 
the info needed, but if niether of these functions are executing, is there 
any other choice open to me?

I know niether of these are executing, as I put a say string at the 
beginning and they don't fire when this window is launched, only after I 
manually bring focus to the window.  So, any words of wisdom?  THX Steve.
__________???

View the list's information and change your settings at
http://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
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

__________�

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

Other related posts: