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 First Generation of Computer

The history of computing hardware covers the developments from simple devices to aid calculation, to mechanical calculators, punched card data processing and on to modern stored-program computers . Before the 20th century, most calculations were done by humans. Early mechanical tools to help humans with digital calculations were called "calculating machines", by proprietary names, or even as they are now, calculators . The machine operator was called the computer. The first aids to computation were purely mechanical devices which required the operator to set up the initial values of an elementary arithmetic operation, then manipulate the device to obtain the result. The slide rule and, later, analog computers represented numbers in a continuous form, for instance distance along a scale, rotation of a shaft, or a voltage. Numbers could also be represented in the form of digits, automatically manipulated by a mechanical mechanism. Although this approach generall...

About Write Only Memory

In information technology, a write-only memory ( WOM ) is a memory location or register that can be written to but not read. In addition to its literal meaning, the term may be applied to a situation when the data written by one circuit can be read only by other circuitry. The most common occurrence of the latter situation is when a processor writes data to a write-only register of hardware the processor is controlling. The hardware can read the instruction but the processor cannot. This can lead to problems in producing device drivers for the hardware. Write-only memories also find applications in security and cryptography as a means of preventing data being intercepted as it is being decrypted. Hardware uses In 1972, WOM, an antithesis of read-only memory (ROM), was introduced as an inside practical joke perpetrated by Signetics. [ 1 ] However it was soon recognized that this concept actually describes certain functionalities in microprocessor systems. [ 2 ] The...

Top 9 MARVELOUS Features of SAMSUNG GALAXY NOTE 8

Welcome Back Guys, I'm here with a new video, in this video I am going to discuss some features of Samsung Galaxy note 8, but before getting started there are some things that we should know about note 8.The Note 8 has already released and it is available in market from 15-Sep-2017, the same day on which IPhone 8 pre-orders are tipped to begin. Note 8 is available on Samsung store online with the price tag of £869.00, if you order it online then it is available in two different colors Midnight Black & Maple Gold, other than these are Orchid Grey, Deep Sea Blue, Star Pink (Taiwan only) .Let’s get back to our main topic and find out top 10 features of Samsung Note 8.  The video is also available on  YouTube: https://www.youtube.com/channel/UCZrxKw-Qv9uzbQTKJf0o-Dw