w0uter 4 Posted April 4, 2005 (edited) i wanted to make an as small as possible tts app thats also says something if you dont give it input this was my result $talk = ObjCreate("SAPI.SpVoice") if $CmdLine[0] = 0 Then $talk.Speak("you forgot to enter parameters") $talk.Speak('' & $CmdLineRaw) Edited April 4, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Share this post Link to post Share on other sites
MHz 80 Posted April 4, 2005 _Say('Just got to love the new Autoit beta COM features') Func _Say($text) $talk = ObjCreate('SAPI.SpVoice') If Not @error Then $talk.Speak($text) EndFunc Cool Share this post Link to post Share on other sites
layer 2 Posted April 4, 2005 That's pretty neat. It's much shorter then this one and doesn't need to use a temporary file:http://www.autoitscript.com/forum/index.php?showtopic=8975Although you had an advantage COM is beta, and maybe El Turcha didn't know bout' it FootbaG Share this post Link to post Share on other sites
layer 2 Posted April 4, 2005 (edited) Wait a second... I just tried it out and it doesn't speak I used MHz's example too... And neither did the Microsoft Word COM thingy... Don't tell me I need Microsoft Office in order to use COM... Do you know why? I had my volume unmuted and on too... Grr.EDIT: Oops... :"> I was using the MS Word thing that didn't work, I totally forgot to put the example in an Au3 file... Go ahead, laugh at me EDIT2: Cool, no more VB needed... Edited April 4, 2005 by layer FootbaG Share this post Link to post Share on other sites
bshoenhair 0 Posted April 4, 2005 @layer LOL, what is the "Microsoft Word COM thingy" you are refering to ? Share this post Link to post Share on other sites
layer 2 Posted April 4, 2005 (edited) Wait a second... I just tried it out and it doesn't speak I used MHz's example too... And neither did the Microsoft Word COM thingy... Don't tell me I need Microsoft Office in order to use COM... Do you know why? I had my volume unmuted and on too... Grr.EDIT: Oops... :"> I was using the MS Word thing that didn't work, I totally forgot to put the example in an Au3 file... Go ahead, laugh at me EDIT2: Cool, no more VB needed... <{POST_SNAPBACK}>http://www.autoitscript.com/forum/index.php?showtopic=10080EDIT: Ooops, wrong quote :"> Edited April 4, 2005 by layer FootbaG Share this post Link to post Share on other sites