Pages

Thursday, March 29, 2012

Make your Computer Speak

How to find whether your computer is male or female ?


Using this interesting tricks you can find the gender of your computer whether your computer is male or female.(just kidding) Just follow the below steps.


Open Notepad and paste the following code.     CreateObject("SAPI.SpVoice").Speak"i am Awesome"
Save notepad file as gender.vbs and close the notepad.
Now open the save file.
If you hear male voice your computer is male and if you hear female voice your computer is female.
How to make computer speak whatever you type ?
Open Notepad and copy the following code.
     Dim message, sapi
      message=InputBox("What do you want me to say?","Hacknet911")
     Set sapi=CreateObject("sapi.spvoice")
     sapi.Speak message
Save the file as speak.vbs
Now, close the notepad and open it again and you are done.

No comments:

Post a Comment