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
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“
4. Copy file tersebut ke :
windows vista & 7 -> ”c:\users\{username}\appdata\roaming\microsoft\win dows\start menu\programs\startup”
windows xp -> c:\documents and settings\{username}\start menu\ atau c:\documents and settings\all users\start menu\programs\startup
untuk dengerin suaranya enggak perlu repot ,cukup klik 2x file nya..
4. Copy file tersebut ke :
windows vista & 7 -> ”c:\users\{username}\appdata\roaming\microsoft\win dows\start menu\programs\startup”
windows xp -> c:\documents and settings\{username}\start menu\ atau c:\documents and settings\all users\start menu\programs\startup
untuk dengerin suaranya enggak perlu repot ,cukup klik 2x file nya..
0 komentar:
Posting Komentar