How to make the computer tell everything you type

Table of contents:

How to make the computer tell everything you type
How to make the computer tell everything you type
Anonim

Create your own speech conversion software so your computer speaks whatever you type

Steps

Make Your Computer Speak Whatever You Type Step 1
Make Your Computer Speak Whatever You Type Step 1

Step 1. Open Notepad.

Make Your Computer Speak Whatever You Type Step 2
Make Your Computer Speak Whatever You Type Step 2

2 Copy the below code and paste it into notepad

  • Dim message, sapi

    message = InputBox ("What do you want me to say?", "Speak to Me")

    Set sapi = CreateObject ("sapi.spvoice")

    sapi. Speak message

Make Your Computer Speak Whatever You Type Step 3
Make Your Computer Speak Whatever You Type Step 3

3 Save the file with any name with the extension .vbs

Make Your Computer Speak Whatever You Type Step 4
Make Your Computer Speak Whatever You Type Step 4

Step 4. Run the file, type anything in the text box, and then click OK

Make Your Computer Speak Whatever You Type Step 5
Make Your Computer Speak Whatever You Type Step 5

Step 5. Enjoy

Advice

  • vbs stands for Visual Basic Scripting.

  • The text in double quotes in the code (script) can be edited according to the user's choice.

Warnings

  • Do not change the code, or it may cause any other operation to be performed. Only the user is responsible for his own work.
  • Be sure to save the file with the extension .vbs.

  • This is for educational purposes only.

Popular by topic