TITLE OF WEBSITE

HACKS BY MUHIB DON

Sunday, 9 March 2014

Make Your PC To Speak


        Today I am giving you a very beautiful pc trick through which you can get the voice from your computer which you want. What you write your computer will speak it. In this trick we will use notepad and file extension .vbs . 
.Net framework is necessay for this if you have not .net framework download it from here.

Follow the following  steps:

  • First of all open your notepad.
  • Copy the below code and paste it in your notepad.


Dim message, sapi
message=InputBox("<Type which you want me to speak>","Speaking your words")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

  • Now save the notepad file with the name say.vbs on your desktop.
  • You can also change name but extention should be .vbs
  • Double Click on file which is created in your desktop  and type in the box which you want your computer to speak to you.


I hope you will enjoy it very much and give your feedback also. Keep visiting for more tricks like this one.




No comments:

Post a Comment