Hello Robert,

Here is one means of doing that.  You can add your own additions to the
list, or replace what is already there, but make sure you have the
"SynthAlias" correctly spelled before selecting that particular synthesizer
from the list.
You can get the "SynthName" of the installed synthesizer from the
C:\JFW33\JFW.INI file.
If this is helpful, I can write one that has all the synthesizers JFW
supports--provided I can track down all the available SynthName= parameters.
I only use two synthesizers at present, but I found the name of the Access32
synthesizer when writing another ScriptTip, so I threw it in here as well.
Take note that this only changes it during the current JAWS session, so when
you reload JAWS, or restart your system, it'll go back to the default
synthesizer.  I'll see if I can track down the info on setting the selection
as the default synthesizer.

If it would be useful, I could put this into one of the ScriptTip messages,
which gives step-by-step instructions on creating this script, but in the
meantime...

1)  Hit Control+Shift+0 to launch the Script Manager.
2)  Hit Control+End to reach the bottom of the file.
3)  Type in, or cut and paste, the following script--changing the
synthesizer info to reflect your own installed synthesizers:

; Changes synthesizers on the fly.
; 08/10/99  Dennis Brown  [EMAIL PROTECTED]
script ChangeSynthesizer()
var string SynthesizerList,  ;create a variable for menu contents.
int index                    ; menu indexer variable.
; Create the menu by assigning the synthesizers to the menu variable
let SynthesizerList="|Doubletalk PC Internal" +
"|Eloquence Software" +
"|DecTalk Access 32 Software"
let index=DlgSelectItemInList(SynthesizerList,"Synthesizer Menu", TRUE)
IF index == 1 Then  ; if the DoubleTalk selected,
Say("Switching to the DoubleTalk...",ot_string) ; announce the switch,
SetSynth("dubltalk")          ; and make the switch.
ElIf index == 2 Then          ; if Eloquence selected,
Say("Switching to Eloquence...",ot_string) ; announce the switch,
SetSynth("eloq")              ; and make the switch.
ElIf index == 3 Then          ; if Access32 selected,
Say("Switching to Dec Access32...",ot_string) ; announce the switch,
SetSynth("dtsoft")            ; and make the switch.
EndIf
EndScript


4)  While on a line in this script, hit Control+D to edit it's Properties.
5)  Enter the script's name, (if not already there), and tab through the
dialog, making sure "Can be assigned to keystroke..." option is checked.
6)  Assign the menu a hotkey, (such as Control+Alt+S), and select Ok.
6)  Back in the Script editor, hit Control+S to compile this new addition.

Hit Alt+F4 to exit the Script Manager and cycle JAWS in and out of memory.

Give it a try and give us some feedback, suggestions, gripes, remarks,
comments, etc.


Hope this helps!
Thanks,
Dennis Brown, [EMAIL PROTECTED]



----- Original Message -----
From: Robert McNab <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 1999 8:39 PM
Subject: Changing Synthesisers


> Hi there, I was wondering if anyone out there has any idea of how to write
a
> Jaws script that will pop up a list box and allow you to change to another
> synthesiser, rather than going through the Jaws language menu.
>
> Yours hopefully
>
> Bobby
>
>
> -
> Visit the jfw ml web page: http://jfw.cjb.net

-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to