[jawsscripts] Re: How to silence speech during script operations?

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 2 Feb 2019 23:51:31 +0000

I recommend StopSpeech right after SpeechOff, because that means first ignore 
any new speech requests, then silence any that were already in progress.

Also, add a Pause just before your speechOn, so that all application events, 
like focus changes and value updates, can occur before speech is enabled again.

On Sat, Feb 02, 2019 at 06:46:23PM -0500, John P. Thomas 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.


Hi Darrell,

Try adding these functions:

StopSpeech()

 Or

ClearSpeechHistory()

You will need to experiment as to where you put these in your script. Sometimes 
the strategic placement of one of these functions between the speechOff and 
SpeechOn functions will solve the problem. For example, putting one of these 
immediately before the SpeechOn function works well.

John

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Darrell Shandrow Hilliker
Sent: Saturday, February 2, 2019 05:06 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] How to silence speech during script operations?

Hello again everybody,


Thanks thus far for the excellent ideas. It is coming together!



My next issue is how to silence speech during script operations.



Right now, I have some scripts that work like this:



SpeechOff()

;Do a bunch of stuff.

SpeechOn()



Sadly, speech remains on during the operations in the middle and a bunch of 
unnecessary junk is spoken.



It doesn????????t make sense that obviously named functions wouldn????????t do 
their jobs. ??????



Any ideas appreciated.



Thanks,



Darrell




__________??????

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

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

Other related posts: