Jump to content
Sign in to follow this  

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")

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

Share this post

Link to post
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
Sign in to follow this