Page 2 of 2

Re: how to use Speech / Parole feature on osX Lion ?

Posted: Tue Mar 27, 2012 7:02 pm
by jmburnod
Hi Mark,

Thank one more for your help
I tried your script with this result:

I have a new file "talk.sh" in my application folder with the text. This part is ok

but the texttospeech don't work
(also with a string without apostrophe).

Kind regards

Jean-Marc

Re: how to use Speech / Parole feature on osX Lion ?

Posted: Tue Mar 27, 2012 10:21 pm
by Mark
Hi Jean-Marc,

Try this:
set the defaultfolder to specialfolderpath("desktop")
put unidecode(uniencode("say" && quote & "Je suis à l'école" & quote),"UTF8") \
into url "binfile:talk.sh"
put shell("chmod 755 talk.sh")
put shell("./talk.sh")
Best,

Mark

Re: how to use Speech / Parole feature on osX Lion ?

Posted: Wed Mar 28, 2012 9:10 am
by jmburnod
Hi Mark,

Many thanks Mark, it work well

All the best from Geneva

Jean-Marc