[jawsscripts] endless chatter
- From: "The dark Count" <darkcount1@xxxxxxxxx>
- To: jawsscripts@xxxxxxxxxxxxx
- Date: Mon, 31 Dec 2007 10:36:49 -0800
Hello all.
I had to modify the say none highlighted text function to speak the text
of a window which
was not speaking on an application.
The problem now is that though the modification works as required to speak
the needed text,
I get the entire window read each time I alt tab and switch to the
application or refresh the
screan, and I am not too sure which function I should modify to make this
not happen.
My function callss uppon the buffer to speak if it does not equal its
previous string value.
So I will give it to you below.
Void Function SayNonHighlightedText (handle hwnd, string buffer)
var
int mycontrol
let mycontrol=GetControlID (hwnd)
;read nonhighlighted text in other echo modes
If (GetScreenEcho ()> 1) Then
Say (buffer, OT_buffer)
EndIf
;intercept and speak messages in chat window
if (mycontrol == 1204) Then
If (prevstatus != buffer) Then
Say (buffer, OT_buffer)
let prevstatus =buffer
let ms1 = buffer
EndIf
EndIf
EndFunction
As I mentioned this works fine for what I need, but I have the added
chatter each time I focus
away from the application.
I don't want to put something in the focus change event that will suddenly
break the say none
highlighted function.
As of now I am using the default focus changed event, so it is not even in
my scripts.
tia
D C
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- Follow-Ups:
- [jawsscripts] Re: endless chatter
- From: Doug Lee
- References:
- [jawsscripts] about windows live scripts.
- From: FARHAN
- [jawsscripts] Re: DC++ Now Accessible for JAWS, Direct Connect here we come!
- From: Bryan Garaventa
Other related posts:
- » [jawsscripts] Re: endless chatter
- » [jawsscripts] Re: endless chatter
- » [jawsscripts] endless chatter
- » [jawsscripts] Re: endless chatter
- [jawsscripts] Re: endless chatter
- From: Doug Lee
- [jawsscripts] about windows live scripts.
- From: FARHAN
- [jawsscripts] Re: DC++ Now Accessible for JAWS, Direct Connect here we come!
- From: Bryan Garaventa