Teach Notepad to talk

I’ve got a neat trick you can try with Windows Notepad.

Open Notepad and then copy and paste the text below. Make sure to copy and paste, it must be exact.

Dim msg, sapi
msg=InputBox(“Enter your text for Conversation”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak msg

Click File and choose Save as.

Change the name to audio.vbs and the file type to All Files. Then hit Save.

Click the file to open.


This box will open.


Type any text in the box and hit OK. Your PC will now speak that text to you.


2 thoughts on “Teach Notepad to talk

  1. Well—that was FUN! When I first looked at this article, I thought I didn’t need such foolishness. But it kept nagging at me, and this morning I tried it. It works for up to 254 characters. I need to learn more about sapi…. I’ll be looking online for information.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.