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 > __________ 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