MALE/ FEMALE COMPUTER
1. Open "notepad",
2. Write CreateObject("SAPI.SpVoice").Speak"I love YOU"
2. Write CreateObject("SAPI.SpVoice").Speak"I love YOU"
3. Save as i love you.vbs ,
Close it and double click the file
You will hear a voice saying "i love you"
Close it and double click the file
You will hear a voice saying "i love you"
Identify the voice of your computer whether is a male or female
For your info, mine has a sweet voice.
Other method:
1. Open "notepad",
2. Write
2. Write
Dim message, sapi
message=InputBox("you type it, I will say for you","speak this")
set sapi=CreateObject("sapi.spvoice")
For i=1 to 3
sapi. Speak message
Next
message=InputBox("you type it, I will say for you","speak this")
set sapi=CreateObject("sapi.spvoice")
For i=1 to 3
sapi. Speak message
Next
3. Save your file as filename.vbs
No comments:
Post a Comment