Let Windows system speak whatever you write

It would be great if your computer speaks out what you write.As you know that windows operating systems provide a  built in voice that can be customized from control panel. also it can be used for various softwares and scripts as done in this post.You can use it just for fun or for knowing the pronunciation or to check the system sound.Whatever the purpose may me here is the VB script that can be used to make windows system speak out what you need.

Here is how make System Speak out what you write:

1) Copy following four lines and paste it into new notepad file or just type in four lines(without Quotes)


"Dim message, sapi
message=InputBox("Enter text to speak?","Speak")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message"


2) Save notepad file with any file-name but with extension ".vbs", so as to make it VB script file.


3) Now open that file by double clicking and it will ask for text to input, in that enter text and press ok.
4) As soon as you press ok window will disappear and it will speak out the words you just entered using the system sound.


Download VB Script


No comments:

Post a Comment