Let's make your computer talk using Notepad.
Step 1.
Open Notepad.
Step 2.
Paste the following script in it:
Set VObj = CreateObject("SAPI.SpVoice")
with VObj
Set .voice = .getvoices.item(0)
.Volume = 100
.Rate = -4
end with
with VObj
Set .voice = .getvoices.item(0)
.Volume = 100
.Rate = -4
end with
VObj.Speak "<pitch middle='-50'>" & "Its JugaadSpot."
Step 3.
Save the document as a .vbs file, so for example: JugaadSpot.vbs
Step 4.
Let's make it talk, so double click JugaadSpot.vbs
No comments:
Post a Comment