[jawsscripts] Re: functions SetVerbosityLevel and SetScreenEcho

  • From: "Jackie McBride" <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 18 May 2008 13:20:55 -0700

Thomas, u weren't at all specific about the app name so I cannot
download it & have a look. & it's now getting hard to help w/o that
information. Of course if the program's in German I might have
trouble, I've forgotten so much of it from my university studies
nearly 35 years ago--Lord I cannot believe I just wrote that.

NewTextEvent may be called automatically or not, depending on many
factors, some of which are whether the text is highlighted or whether
the text is in a frame which is to be echoed when it changes or when
the screen echo is set to all ...

U could put a different saystring in both the default NewTextEvent &
your own newTextEvent function to see when both are being called. But
your screenStabilizedEvent function is speaking & it sure shouldn't.

On 5/16/08, marquats@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<marquats@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 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
>
>


-- 
Jackie McBride
Please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
& Check out my homepage at:
www.abletec.serverheaven.net
__________ 
View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: