TechTriCon Friday, 2024-05-17, 10:14 PM
Welcome Guest | RSS
Site menu

Statistics

Total online: 1
Guests: 1
Users: 0

Main » 2013 » August » 11 » Make your computer speak your words
1:03 PM
Make your computer speak your words



Yesterday, I was exploring my computer to find new things. I have Windows7 installed. Unfortunately, my mouse was not working, so I tried to use Speech Recognition feature of Windows 7 and instructed my computer to do what I wanted.  This was working perfectly fine. Then I thought to read VB Script for about an hour and tried to create a small script that allows your computer to speak the words you type. Let's see, how that script works:

Step 1:  At first, open notepad(Obviously, it's a script editor)

Step 2:  Copy the code below and paste that into the notepad file


createobject("SAPI.SPvoice").speak "Type your words here"


Step 3:  You can type anything instead of "Type your words here"  above and make sure quotes are still there

Step 4: Save the file with extension  .vbs ; For example, if your file name is test then save it as test.vbs


You can then run the file and you will hear the words you typed.


To know more about SpVoice Interface, you can visit Microsoft Link here: http://msdn.microsoft.com/en-us/library/ms723602%28v=vs.85%29.aspx

 
Category: TechKnowledgebase | Views: 769 | Added by: Admin | Tags: Microsoft, Computer, Speak, VBScript | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Sign Up | Login ]
Social Media

Search

Categories
TechKnowledgebase [15]
Improve English [1]
Pronunciation [0]
Earth & Universe [3]
Our Environment [0]
Forces & Nature [0]
Trade Across World [0]
Human Body [0]
How we Communicate [0]
Course of History [0]
Living Together [0]
Projects/Stuffs [1]
JAVA [4]

Copyright TechTriCon.com © 2024