[jawsscripts] Re: Jaws speaking information too quick?

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 27 Feb 2019 13:28:43 +0000

From a message I posted here in December, 2015:

Here's my understanding. I'll tell you which parts of this are directly backed 
up by my personal experience.

Pause is said to yield the CPU to other tasks, which is more than just stopping 
the current task for a moment.
What I know for sure is that Pause inserts a delay whose length can not be less 
than 0.1 seconds no matter
what I do.

Delay allows you to specify a length of time, but my experience says that any 
Delay call can be reduced to
nothing if you press a key on the keyboard before the Delay that is not 
processed until after it. In strict
terms, this should mean that if IsKeyWaiting() is True, delay(anything) is a 
no-op.

Delay also lets you decide whether to process events during the delay.

Finally, the JAWS docs say to avoid putting Pause in a loop to avoid crashes. I 
don't find that using Pause in
a loop is a problem, but of course one must make sure the loop terminates at a 
reasonable time.

On Wed, Feb 27, 2019 at 10:50:53AM -0000, Steve Spamer wrote:
CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Jim, thanks for the suggestions. I did get it working as I want with a very
simple thing.  Pause and delay work differently, but I was always under the
impression that  both ways made things slow down slightly.  I was over
thinking it and was a little stuck, so I just put in a pause, and bingo all
was well.  It doesn't seem to slow things down like the delay did.

Now I think the pause is a system/program thing, where as a delay is
stopping jaws from speaking for a specified amount of time.  So, maybe the
pause just waits until the program has processed and then away we go again,
I'm not sure, but it's working.

Anyway, the schedule function is something I have used in the scripts and it
works well, so I should have thought of that, but I haven't done much with
new text event.  I'll certainly make a note of that for the future, but
thanks again for your help. Best steve.

-----Original Message-----
From: Snowman
Sent: Wednesday, February 27, 2019 3:17 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Jaws speaking information too quick?

Steve,  if you don't speak this information from your script,  and the
information changes,  is jaws currently able to detect that?  I'm thinking
of a NewTextEvent firing on that control.  If you can find some event that
fires, you can hook into that.  If not,  you can do the delay thing,  or,
you can schedule a function to do it.  I like the latter, because it allows
the script to finish more quickly, freeing up the keyboard.



+--------------------------------------------------------------------------+
Listen to The Snowman on MushroomFM.com, Saturday evenings, 8PM Eastern
time.
60's and 70's tunes, and gently conservative talk.

----- Original Message -----
From: "Steve Spamer" <stevespamer68@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, February 20, 2019 10:42 AM
Subject: [jawsscripts] Jaws speaking information too quick?


Hi folks. I have a situation where Jaws speaks information too quick.  Of
course speed is always an objective, but in this case I want to maximize
speed, while getting accurate information.
Scenario is, a key is pressed and the scripts speaks the window text of a
given window handle.  Trouble is the information in this window is spoken
prior to it changing.  I know I can put in a delay, but I'd like not to do
that and try and maximize the speed, rather than putting in a standard
delay, which will affect it.

So, is there any other approach that can speak this change, while keeping
the maximum amount of speed?  The control in question reports the position,
and currently the bar you're on is spoken instead of the bar you've just
moved to.

Thanks for any help. Best steve.

Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording with
Samplitude in Windows: www.samplitudeaccess.org.uk

__________???

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

-- 
Doug Lee, Lead Accessibility Architect
Level Access - over 1,000 organizations trust us to help them achieve and 
maintain digital accessibility compliance!
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done, it was done." 
--Helen Keller
**********
Join us at CSUN March 13-15!
Booth 1013, Level Access Showcase Suite (Platinum Ballroom 8)
__________�

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

Other related posts: