w0uter Posted April 4, 2005 Share 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 Link to comment Share on other sites More sharing options...
MHz Posted April 4, 2005 Share 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 Link to comment Share on other sites More sharing options...
layer Posted April 4, 2005 Share 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 Link to comment Share on other sites More sharing options...
layer Posted April 4, 2005 Share 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 Link to comment Share on other sites More sharing options...
bshoenhair Posted April 4, 2005 Share Posted April 4, 2005 @layer LOL, what is the "Microsoft Word COM thingy" you are refering to ? Link to comment Share on other sites More sharing options...
layer Posted April 4, 2005 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now