[jawsscripts] Re: Pause versus Delay

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>, Jamal Mazrui <empower@xxxxxxxxx>
  • Date: Sat, 2 Jan 2010 15:30:14 -0700

U know, I could be wrong too, but I thought I read in the fs developer
docs that pause basically was synonomous w/a delay(1)

On 1/2/10, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx> wrote:
> I never knew exactly what governs the length of a Pause() call, but I
> think of it as a Yield function and assume it lets through whatever is
> explicitly waiting, or more accurately, gives all other processes a
> chance to do what they think is important.  But this is a guess, and
> since the length of a Pause() does not seem to be variable for the
> most part, I think I may be wrong.
>
> On Sat, Jan 02, 2010 at 10:06:34AM -0500, Jamal Mazrui wrote:
> That's helpful -- thanks.  Could explain why the Delay calls were not
> suppressing speech for me.  Regarding Pause, do you think it waits for,
> say, a sertain number of window messages to be processed by the active
> window?
>
> Jamal
>
>
> On 1/1/2010 5:48 PM, Doug Lee wrote:
>>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
>>http://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
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
www.abletec.serverheaven.net
Please join me Saturday, 11/7, on my walk against breast cancer by
making a donation at:
http://main.acsevents.org/goto/larkspur>
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: