Skip to main content

Create A Talking Application Using Notepad

There are many times when you wanted something interactive from your computer. For fun you can build this application, which is too easy. This can also save your money as there are some app which asks for money. So this will be awesome for you! I am going to guide you about how to make an Notepad application that speaks. This application basically works on "visual basic coding" Before starting up I will teach you some important things, the things you need to learn is what each statement does.
The Image above is the actual notepad coding that you are going to learn. Before making any application it is necessary to learn the small things. You must know that what does each line exactly do. As it will going to help you if you wanted to edit you app yourself. So In the next paragraph I will explain you each line! Below is the image marked with numbers. In same numerical order I will be guiding you!
The Code(input) Which We Enter Via Notepad
The Code(input) Which We Enter Via Notepad

1st Line --> This line is the title of your application. If I will use this code then the title will be Speak. The Word Dim Message tells that following is the title. Comma(Symbol) tell that now we are writing the title. There is no need of any mark to tell the ending of the title!

2nd Line --> This line shows the text that appears in your application. The text which is just beside the "OK" and "Cancel" button. You can edit this text and you can add anything you want, but be sure you add the text in one line only, means no second line in notepad!

3rd Line --> This line creates those buttons ( Cancel & OK) and the support for enter key! You can also ask to speak by just pressing enter key! This is the most important line, if you miss it nothing will work!

4th line --> This line make the text speakable. When you press enter this line convert the text into audible form. In this line Message is the text that you have typed!


Below I have pasted an image that shows you the output from the input. The input is shown in the image above and the output is in the image below

The output which we get from the input
The output which we get from the input
So now you have got the main idea that how this coding works. Now we will begin the main process. First of all you have to open Notepad. After opening the notepad copy the following code.

The Code

?
1
2
3
4
5
6
7
8
9
10
Dim Message, Speak
Message=InputBox("Type anything into the text box below & hit enter By Cerefo.hubpages.com ","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message

After copying paste it in the notepad. Now if you want to make any changes then make it now only. After editing save the file with the name "talking.vbs" and in "save as type" option choose "all files" now click on save button. Now go to the place where you have saved your file and open it. Voila, You have created your own application. Have fun! Now just type anything and hit enter.!
If you face any problem just comment it don't hesitate to do so! Feel free

Tips And Tricks!

You can also have fun with this application. Just type any letter many times about 200-300 times(you can copy and paste) and hit enter. You will get an annoying sound. If you want to irritate someone use this trick. WARNING: Do not type any letter too many times, if you do so then the computer will create too much annoying sound and at last you have to shut it down!

Comments

Popular posts from this blog

The Android Best OS Android OREO 8.0 Top 10 AMAZING Features

Welcome Back Guy, I'm here with a new video, in this video I'm going to show you Top 10 Features of Android 8.0 Oreo Don't forget to Subscribe My Channel Which is Guy Perfect & Press the Bell Icon for More Exciting Video Coming Soon!! Like this video And Don't forget to share it with others. Upload by Guy Perfect.The Link is Down below. If you like this post 1+ this

EEPROM (Electrically Erasable Programmable Read-Only Memory)

EEPROM also written E 2 PROM and pronounced "e-e-prom", "double-e prom", "e-squared", or simply "e-prom") stands for E lectrically E rasable P rogrammable R ead- O nly M emory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration. Unlike bytes in most other kinds of non-volatile memory, individual bytes in a traditional EEPROM can be independently read, erased, and re-written. When larger amounts of static data are to be stored (such as in USB flash drives) a specific type of EEPROM such as flash memory is more economical than traditional EEPROM devices. EEPROMs are organized as arrays of floating-gate transistors. An EPROM usually must be removed from the device for erasing and programming, whereas EEPROMs can be programmed and erased in-circuit, by applying special programming sign...