How to make your Computer to talk with You

Author: | Posted in General, Tutorials 3 Comments

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


STEP :1

Open your notepad

STEP :2

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", "www.imacify.com", "")

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 www.imacify.com")

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

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

 

STEP :3

Save the notepad as example.vbs

STEP:4

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 Twitter and Facebook.

If you like this post, Share it to your friends. Dont forget to Subscribe our Feeds, Follow us on Twitter, Facebook and Pinterest.

Comments
  1. Posted by divas@android apps
  2. Posted by Ankit

Add Your Comment

*