Hi Gerry,
        I just included your switch synth script in my default.jss file,
compiled it and asigned it to insert+f9. I had to do a little recompiling
because the e-mail cut some lines, but it worked. At first, I ran my
dectalk, did an insert+f9, got the dialog box, switched to eloquence,
then switched back to the dectalk. No problems. I'm using jfw v3.2.09,
having been unable to apply the cursed .31 patch. I'm going to get the
disk image set and do it that way, and I'll let you know if it's the .31
patch, that is, if you have the .31 patch. Are you getting any particular
errors?
        
Dave.


On Fri, 5 Feb 1999 20:46:28 -0500 "gneufeld" <[EMAIL PROTECTED]>
writes:
>Hello listers.
>
>       If you have not seen my name these last few weeks, it is 
>because I was
>somehow inadvertently unsubscribed from this list.  I finally did the
>obvious thing and re-subscribed.
>
>I have a couple of questions for those who like to find bugs in 
>scripts
>that, from my perspective, at least, should function.  Any 
>suggestions
>would be much appreciated.
>       The first concerns the set synth language function, used, as 
>the name
>implies, to change languages in Eloquence from within scripts.  
>Following
>is the script I wrote for this purpose in which I wish to select one 
>of
>three languages.  Eloquence keeps on pirking away but, unless I go to 
>the
>menus to affect the change, nothing whatsoever happens.  It is either
>something faulty in my script or, conceivably, the set synth language
>function does not work.  Here is the first script.
>
>Script chooseSynthLanguage()
>;to be used exclusively with the Eloquence soft synthesizer
>var
>    Int Index
>; construct pop-up box
>Let index = DlgSelectItemInList ("english|french|spanish", "select
>language",
> false)
>; change to specified synthesizer language
>If (index == 1) then
>    SetSynthLanguage("enu") ; change to English
>ElIf (Index == 2) then
>    SetSynthLanguage("fra") ; change to French
>Else
>    SetSynthLanguage("esm") ; change to South American Spanish
>EndIf
>EndScript
>
>* * * *
>
>       The second problem, mysteriously having occurred only very 
>recently, does
>not allow me to return to my internal Dectalk, once I have switched 
>to
>Eloquence, again from within a script.  As I recall, this script used 
>to
>work perfectly.  What have I done wrong here folks?  Any ideas?
>
>Script SwitchSynthesizer()
>var 
>    Int Index
>; construct pop-up box
>Let index = DlgSelectItemInList ("Dectalk|Eloquence", "select
>synthesizer",
> false)
>; change to selected synthesizer 
>if (Index == 1) Then
>    SetSynth ("dectalk") ; change to internal Dectalk pc
>    Pause()
>    ResetSynth()
>    SayString ("SWITCHING TO dectalk ")
>Else
>    SetSynth ("eloq") ; change to Eloquence soft synthesizer
>    Pause()
>    ResetSynth()
>    Pause()
>    SayString("switching to eloquence")
>EndIf
>EndScript
>
>Thanks for any tips.
>
>jerry
>
>-
>Visit the jfw ml web page: http://yoyo.cc.monash.edu.au/~nallan/jfw
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]
-
Visit the jfw ml web page: http://yoyo.cc.monash.edu.au/~nallan/jfw

Reply via email to