Hello Carol,
Your previous post did make it to the list. Borrowing from both Dennis
Brown and Ronald J McEwan, I created the following script which does work
with FlexTalk. The key was to use "FlexTalk" rather than "mssapi" in the
SetSynthesizer line.
Script ChangeSynthesizer ()
; create a variable for menu contents.
var string SynthesizerList,
; designate variable.
int index
; Create the menu by assigning the synthesizers to the menu variable
let SynthesizerList="|DECtalk Express" +
"|DECtalk Access32 Software" +
"|FlexTalk Software" +
"|Eloquence Software" +
"|NoSpeech"
let index=DlgSelectItemInList(SynthesizerList,"Synthesizer Menu", TRUE)
IF index == 1 Then ; DECtalk Express
SetSynth("dte")
ElIf index == 2 Then ; DEC Access 32
SetSynth("dtsoft")
ElIf index == 3 Then ; Flextalk
SetSynth("FlexTalk")
ElIf index == 4 Then ; Eloquence
SetSynth("eloq")
ElIf index == 5 Then ; No Speech
SetSynth("NoSpeech")
EndIf
EndScript
>Carol Pearson writes:
>Hi Sidney Dennis and all,
>
>It's interesting. The script given to me by Ronald J McEwan does in fact
>allow me to change to Flextalk on the fly.
>
>I sent that script off last night, before I knew Dennis had one, but don't
>seem to have seen it.
>
>If it didn't arrive on the list, Dennis you may like to compare scripts.
>
>Let me know.
>
>
>--
>Carol Pearson
>[EMAIL PROTECTED]
-
Visit the jfw ml web page: http://jfw.cjb.net