[jawsscripts] Re: functions SetVerbosityLevel and SetScreenEcho

  • From: <marquats@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 16 May 2008 16:36:21 +0200 (CEST)

The script is for a program that teaches the braille script.
On the program's main window there are some labels which display text that
changes frequently. One of those labels shall be spoken, another shall be
displayed on the braille display.

I have tried to run the program without an application script, and
observed two things which I find strange:

1. Jaws speaks not all newly written text but only the text on the first
label. (this happens to be what I want, but I don't understand why it is
so)

2. The text is spoken as often as there are lines of text on the label. A
longer text is wrapped automatically by the label. If the text has n
lines, Jaws speaks the whole text n times.

When I try to change echo or verbosity settings in the function
WindowActivatedEvent, it has no effect on this n-times-output.

It seems that NewTextEvent does this, even if I overwrite it with an own
version which does no output. I don't understand this. Is the standard
version (in Default.jss) always called? In some other scripts I saw an
explicit call to the standard version at the end of the overwriting
version of an event function like NewTextEvent, so I suppose this call is
not done automatically. But why does NewTextEvent say anything when I have
overwritten it?



> What program are u writing these scripts for? Why do u have a
> newtextEvent function in these scripts? Does speech output not
> occur otherwise? & why do u have the screen stabilized function
> speaking? That should not occur except perhaps for
> debugging purposes.
>
> Also, if you're setting screen echo or screen verbosity, then
> u should probably use either screenEchoToggle or VerbosityToggle,
> or do a SetJcfOption.  I rather suspect here that your
> newTextEvent speaks, then calls the default, which also
> speaks, &/or that your screenStabilized function is also
> speaking text. Fix that stuff & u should be good to go, & is
> why neither changing screen echo &/or verbosity has no effect.



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

Other related posts: