Skip to main content

Text to Speech

There is an interesting feature in Windows, that makes the text to speak. For making Windows speak, just follow the instructions :
 

1) Press Windows key + R .

2) Type NOTEPAD and press Enter .

3) In Notepad window, type the following code\


Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg



4) Then click on File > Save as 
Then type filename.vbs and save the file on the desktop

5) Close Notepad and click on the file on the desktop.
Then, in the Text Field, type the desired sentence and press OK .


Then you can hear the words you've typed.
Enjoy !

Comments

Popular posts from this blog

C programs to create pyramid structures

Q1.  Write a C program to create pyramid structure as shown below : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Code: //Author : Lakshmikant A. Deshpande #include<stdio.h> #include<stdlib.h> void main() { int i=1,j=5; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) printf("%d ",j); printf("\n"); } } Q2.  Write a C program to create pyramid structure as shown below :     1      1 2     1 2 3  1 2 3 4 1 2 3 4 5 Code: //Author : Lakshmikant A. Deshpande #include<stdio.h> #include<stdlib.h> void main() { int spaces=4; int i,j,k; for(i=1;i<=5;i++) { for(k=0;k<spaces;k++) //Print spaces printf(" "); for(j=1;j<=i;j++) { printf("%d ",j); } for(k=0;k<spaces;k++) //Print ...

Moto G Tips and Tricks

Hey there ! You got a Moto G ? Awesome. You bought the Motorola's most successful phone ever. It's the best phone you can get by spending  less than 200$. The Motorola and Google have done some magic over the phone and it's still difficult to find out what exactly they have done to bring down the price bar. Smart typing with Google Keyboard.   Google has introduced Google keyboard in Kitkat with gesture based typing which lets you type by just swiping your finger through the letters of intended word. It's an incredible way of typing which gets better and better as you go on using it. Google currently haven't added a facility to fetch slang words/popular acronyms from social networks. Getting help from Motorola   Motorola has provided a nice application for providing easy access to help. It is also one of the only few apps Motorola has added to keep the operating system more close to stock android. To access this service, just click on Help icon in launche...

Android KitKat (4.4) features, tips & tricks

Android KitKat is the most recent version of Android till date. It has revamped user interface with smoother animation and lower system hardware requirements. As Android rolled out Android KitKat, it introduced a bunch of new features and modifications in the Android API. 1. Keep mobile data under control We use mobile data everyday. But not all of the carriers do have unlimited data plans. Sometimes we fail to keep an eye on mobile data limit and get a huge bill in return. And as we all know, Android applications hog data a lot because of cloud computing with synchronization. Thanks to Android's built in data monitor which warns you to turn off data when warning limit set by you is exceeded, and turns off data automatically when data plan is exhausted. The data usage monitor even allows to reset the data counter on a particular date. 2. Keep an eye on alarms Alarms are extremely useful for the most of us. But sometimes they make you feel awkward when your phone rings wi...