AutoIt – Speak Text

email me

; Voice Read Text
 
_TalkOBJ("Speak this line of text Please") ; change the text to suit
 
Func _TalkOBJ($s_text)
    Local $o_speech
    $o_speech = ObjCreate("SAPI.SpVoice")
    $o_speech.Speak ($s_text)
    $o_speech = ""
EndFunc ;==>_TalkOBJ()