Place Your Ads Here 460x68 ads

How to make your Computer to talk with You

The sole of computers are designed by programs, and i feel user have no power to impress the mind of computer with few codes to express what they speak ! here we carried out one more attempt to do that with .vbs script
Open your notepad
Copy and past the below code in notepad
'create the voice object

Set VObj = CreateObject("SAPI.SpVoice")

'get what the user wants to say, exit if cancel or return no msg

MSG = InputBox("Type what you want the PC to say" & VBCRLF & VBCRLF & VBCRLF & "To End enter Nothing or push the Cancel button", "", "")

If MSG = "" Then WScript.quit: Else

'use the VObj to speak msg

with VObj

.Volume = 100

.Speak MSG

end with

msgbox ("Thanks for using you can subscribe us in")

Set WshShell = WScript.CreateObject("WScript.Shell")

Return = WshShell.Run("iexplore.exe", 1)

Save the notepad as example.vbs
Now double click it and enjoy!

NOTE: The above script can use only in windows.

hope you may like this prank, stay connect to get more :)
If you like this post, Share it to your friends. Dont forget to Subscribe our Feeds, Follow us on Twitterand Facebook.

Sameera ChathurangaAbout Author Shoyab Khan

Blogger, MAC user, Apple Fan, Online Content Writer, Designer, Gamer, Programmer and Jovial Guy!. Like my Facebook Fan Page. Catch me on Twitter and Google+. Read more about Me and Www. Download Free Games,Download Free Software,Download Movies and Watch Online,Blogger Wordpress and Website Tips , Tricks ,Widgets,Templets, and many other Sources and Health Tips,Photo Gallery contact me

Thank You


Post a Comment

Related Posts Plugin for WordPress, Blogger...