Jump to content

help with speak function


Recommended Posts

i have a code

_TalkOBJ("salut cava bien")

Func _TalkOBJ($s_text)
    Local $o_speech
    $o_speech = ObjCreate("SAPI.SpVoice")
    $o_speech.Speak ($s_text)
    $o_speech.LanguageID  = Dec ("040a")
EndFunc;==>_TalkOBJ

this function for reading a text

the problem is when i turn on the code it speak english even i"m puting this line :

$o_speech.LanguageID = Dec ("040a")

it is for speaking with frensh

plz help me

Edited by dallasgfx
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...