View Full Version : Have your computer talk to ya
dude111
14-10-2009, 12:53 AM
Open notepad and enter this
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save it as a .vbs file then RUN THE FILE!!
Works on XP,im not sure about other OS's (I wonder if it could be gotton to work)
dusan
14-10-2009, 03:44 AM
Open notepad and enter this
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save it as a .vbs file then RUN THE FILE!!
Works on XP,im not sure about other OS's (I wonder if it could be gotton to work)
it works on my xp
dude111
15-10-2009, 01:58 AM
When i try it on Win98se i get a "Windows script host" error that says
Script: 1.vbs
Line: 3
Char: 1
Error: Active X component can't create object 'sapi.spvoice'
Code: 800A01AD
Source: Microsoft VBScript runtime error
Doesnt sound like an unfixable issue....
hitithard
15-10-2009, 03:26 AM
why have your computer talk to you............when it can sing!
http://www.sr.se/p1/Src/sing/
noewhan
15-10-2009, 05:19 AM
Hehe, in the normal program which allows you to type text - try the word 'soy'.
:)
(Only works in XP... But then again I don't know if it works on other OS's. I can't find the prog in Win 7.)
dude111
16-10-2009, 01:14 AM
Someone on Windows 7 confirms it works on that OS also (The one i posted)
newworldengineer
16-10-2009, 01:50 PM
works on Vista :D pity you can't paste whole texts in their tho :p but it's pretty fascinating that that's all it takes to make something as complex as a talking application program! puff! Majick :cool:
bobbydiva
18-10-2009, 09:06 PM
If you have adbe acrobat reader for PDF ebooks you can have it read them to you. Although Steven Hawking gets very annoying after a while.
size_of_light
18-10-2009, 09:10 PM
Open notepad and enter this
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save it as a .vbs file then RUN THE FILE!!
Works on XP,im not sure about other OS's (I wonder if it could be gotton to work)
Alright, now how do I shut the bitch up again?!!!!
If you have adbe acrobat reader for PDF ebooks you can have it read them to you. Although Steven Hawking gets very annoying after a while.
That is totally cool. I don't try the VisBasic on this computer or the one at work but I've saved this thread for the day when I get my own computer to try it. :)
Thanks guys!
newworldengineer
18-10-2009, 09:39 PM
If you have adbe acrobat reader for PDF ebooks you can have it read them to you. Although Steven Hawking gets very annoying after a while.
how do you get it to read it out to you?