How to Make Your Computer Say Hello

Thursday, November 17, 2011

This is a way to make your computer greet you at login.
1. First you have to do is open your notepad
2. Copy and paste this code to notepad :
Dim speaks, speech, greetings, username

username = CreateObject ("WScript.Network"). Username

If Hour (Time) <12 Then
greetings = "Good morning"
ElseIf Hour (Time) <20 Then
greetings = "Good afternoon"
Else
greetings = "Good evening"
End If

speaks = greetings + "" + Username + "! Welcome back to me..! Have a nice work..!"
Set speech = CreateObject ("sapi.spvoice")
speech.Speak speaks
3. Save as your notepad "welcome.vbs" (without quotes)
4. Copy "welcome.vbs" to :

For Windows Vista & 7
- "C:\Users\{your_username}\AppData\Roaming\Microsoft \Win dows\Start Menu\Programs\Startup"

For Windows XP (Select one)
- C:\Documents and Settings\{username}\Start Menu\ Programs\Startup
- C:\Documents and Settings\All Users\StartMenu\Programs\Startup

To listen to his voice no need to reboot your computer, just double click welcome.vbs

1 comments:

  1. very helpful...............here is my article for the same- http://www.superpctricks.com/2013/11/how-to-download-apk-files-to-pc-from.html

    ReplyDelete