[jawsscripts] Re: Setting Punctuation Values

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 07 May 2008 15:51:30 -0400

Hi Donna;

If you are trying to get the Jaws cursor voice to use a particular
speech rate,  punctuation  and voice setting, you can do this by going
to the Jaws window (jaws key + j) and then go to the Options menu
(alt+o) then press v to access the voice menu and then press I to choose
Individual voice settings.

Now you will be focussed on a radio button which will say "Modify
default"
press the down arrow to move to the Modify application followed by the
name of the current application.

This is the setting that you want. =20
now tab. to the Adjust combo box and select the voice that you want to
modify.  (jaws cursor?)
Now tab to and set the rate, punctuation, voice, and pitch. Next tab to
the apply button to apply your settings.

If you are finished you can hit the enter to close this dialogue which
will then take you back to the jaws window again.

If you are running jaws from the system tray, then closing this
dialogue will take you back to the active application.

Now after saying all of that, you might prefer to use the SayUsingVoice
function.  Here is the text taken from the fsdn about this function.

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

Returns=20
Type: Void


Parameters=20
Param 1:=20
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:=20
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:=20
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:=20
Type: Int
Description: Not available yet
Include: Optional


Version=20
This function is available in the following releases:=20

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



David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilit=E9=20
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=E9l:    (613) 992-2779=20

>>> "Lilac" <lilac@xxxxxxxxxx> 01:37 pm Wednesday, May 07, 2008 >>>
Hello All,
I have written a script for a thesaurus application which starts out
with PC cursor in the edit field where I type the word to look up, then
with a script, Jaws cursor moves to the appropriate area and reads the
synonyms found.  However, the application settings for punctuation,
rate, person etc. only work correctly when reading with PC Cursor. When
the Jaws cursor reads the synonyms, it uses global settings.  In the
script, I have tried saving and restoring both cursors, however, this
does not help. =20
I tried including  the built-in function in the script to Set Voice
parameters, however, it requires six parameters, and I cannot find the
values for these. For example, it seems to be asking for a parameter
starting with VTX_ in hjconst.jsh, but I have gone through this file, as
well as hjglobal.jsh and am at a loss. I found similar constants such as
"v_punctuation", but I am not able to use them.
Is there somehow I can find the list of values to set punctuation, for
the various levels such as none, some, most, or all punctuation spoken?

Certainly, I can change the verbosity settings with insert plus v while
I am in the application, however, I am more curious as to why I cannot
resolve the problem permanently within the script itself.
Thanks in advance for any advice.
Donna
__________=20
View the list's information and change your settings at=20
http://www.freelists.org/list/jawsscripts=20


100 Years Merits a Celebration! =20
http://www.psc-cfp.gc.ca/100/index-eng.htm=20
100 ans, =E7a m=E9rite une c=E9l=E9bration!   =20
http://www.psc-cfp.gc.ca/100/index-fra.htm=20

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

Other related posts: