1. Buka Notepad
2. copy code vbscript berikut ke notepad :
----------------------------------------------------------------
Dim speaks, speech, salam , username
username = CreateObject("WScript.Network").Username
If Hour(Time) < 12 Then
salam = "Good morning"
ElseIf Hour(Time) < 20 Then
salam = "Good afternoon"
Else
salam = "Good night"
End If
speaks = salam + " " + Username + "! Welcome back to your computer! Have a nice work!"
Set speech = CreateObject("sapi.spvoice")
speech.Speak speaks
----------------------------------------------------------------
3. save file berikut jadi "welcome.vbs" (tanpa tanda kutip)
4. copy file tersebut ke :
----------------------------------------------------------------
Windows Vista & 7
- "C:\Users\{username}\AppData\Roaming\Microsoft \Win dows\Start Menu\Programs\Startup"
Note : untuk Win7 biar script vbsnya coba dengan "disable UAC" (User Account Control) di Win7nya caranya : masuk ke msconfig - Tools - Pilih Change UAC Settings - Klik tombol Launch - Geser slice bar ke Never notify
Windows XP (Pilih Salah Satu)
- C:\Documents and Settings\{username}\Start Menu\ Programs\Startup
- C:\Documents and Settings\All Users\StartMenu\Programs\Startup
-------------------------------------------------------------------
Tidak ada komentar:
Posting Komentar