Speech and commas

Paul Hibbert lc at pbh.on-rev.com
Mon Mar 4 16:17:30 EST 2013

I can't figure out why, but it is the commas causing the issue, replacing them with stops allows the speech to complete the full sentence.

Using exactly the same sentence in Text Edit allows the speech to complete with commas.


On 2013-03-04, at 12:48 PM, Thomas McGrath III wrote:

> I am having a problem with Speech 'again'.
> The following script will only speak the text in tTTS up until the first comma and then it stops. It does not finish tTTS or get to the tNum or the last word "Tasks!"    But I have no idea why it would do this????
> on mouseUp
>     put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS
>     put "6" into tNum
>     send "TASpeak" && "Expanding" && tTTS && tNum && "Tasks!" to me in 1 millisecond
> end mouseUp
> on TASpeak pTextToSpeak
>     --revStopSpeech
>     wait until revIsSpeaking() is false --with messages
>     revSpeak pTextToSpeak
> end TASpeak
> Any ideas???
> Thanks 
> Tom
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgrath3 at mac.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list