[jawsscripts] Re: Simple question regarding sayString, in the voice you want?

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 30 Jan 2009 11:20:36 -0500

Hi Jeff:
How about SayUsingVoice?

Here is the fsdn entry.

Function: SayUsingVoice 
Description 
Speak a string of text using a specific synthisizer voice. 

Returns 
Type: Void


Parameters 
Param 1: 
Type: String
Description: Type in the constant representing the voice to be used.
These constants are defined in the file hjconst.jsh and are listed
below: VCTX_GLOBAL, VCTX_MESSAGE, VCTX_KEYBOARD, VCTX_SCREEN,
VCTX_PCCURSOR, VCTX_JAWSCURSOR
Include: Required


Param 2: 
Type: String
Description: Type the text that is to be spoken, or specify a variable
name or script function that can provide the required text string. Text
strings that are typed must be enclosed within quotation marks.
Include: Required


Param 3: 
Type: Int
Description: Type in one of the following constants that represent the
output mode to be used: OT_STRING, OT_LINE, OT_WORD, OT_CHAR, OT_FIELD,
OT_CHUNK, OT_SAYALL, OT_SPELL, OT_PHONEMIC, OT_APP_NAME, OT_DIALOG_NAME,
OT_CONTROL_NAME, OT_MDI_NAME, OT_WINDOW_NAME, OT_GRAPHIC, OT_HELP,
OT_STATUS, OT_SELECTED, OT_TEXT, OT_POSITION, OT_STATIC, OT_FONT,
OT_KEYBOARD, OT_CURSOR, OT_DEBUG.
Include: Required


Param 4: 
Type: Int
Description: Not available yet
Include: Optional


Version 
This function is available in the following releases: 

PAC Mate 1.10 and later 
JAWS 4.51 and later 
Magic 10.5 and later 

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité 
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779 
__________ 
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: