[jawsscripts] Re: Pause versus Delay

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 1 Jan 2010 17:48:45 -0500

Delay's time can be aborted by a keystroke according to tests I ran
years ago.  In particular, I seem to recall that typing a key makes
the current Delay() call return immediately and all future Delay()
calls do no delaying at all, until the keystroke itself is handled.
Pause() always seems to pause regardless of whatever else may be going
on.  I have not messed much if at all with the second parameter of
Delay().

On Fri, Jan 01, 2010 at 05:34:01PM -0500, Jamal Mazrui wrote:
I know this has come up before, but I still don't feel I understand when 
to use which of these functions, and when to use the second parameter of 
Delay.  I have noticed that sometimes Pause seems more effective then 
Delay at suppressing undesired speech.  For example, If I temporarily 
disable speech with SpeechOff, type some keystrokes, Delay, then restore 
speech, sometimes I still get undesired speech seemingly no matter how 
long the Delay is, and even if I use True as a second parameter.  In 
this situation, Pause does seem to suppress the undesired speech.

Naturally, I want to minimize time delays with speech off, so I'd like 
to call whichever function is optimal.  Can folks share the best of 
their understanding/experiences on Pause versus Delay?

Jamal
__________?
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//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
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: