Technology

How To Convert Text To Voice In Windows PCs in simple way

Now you can convert any text message in your pc into a voice message. So, today I am going to tell you how you can convert a text msg to a voice message without using any tool.

First you have to open notepad.

Then you have to write the following as given below:

Dim msg, sapi
msg=InputBox(“your word”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.speak msg

You have not to copy the code written above as it will not work.
Just write it and click Open-Save as & save the file with extension “.vbs” ( eg. message.vbs). A new file will be created as shown in the pic below.

Now click to open this file a box will appear as shown below

Now type the text msg in the box that you want to convert & click OK.
Enjoy you have done.

Iif you have any questions you can ask us through comment section thank for visit out blessed site man uni ya.com

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button