Jump to content
Sign in to follow this  
dallasgfx

help with speak function

Recommended Posts

dallasgfx

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.