Guest User

SCRIPT VBS

a guest
Jul 18th, 2014
42,840
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Dim speaks, speech, salam , username
  2. username = CreateObject("WScript.Network").Username
  3. If Hour(Time) < 12 Then
  4. salam = "Good morning"
  5. ElseIf Hour(Time) < 20 Then
  6. salam = "Good afternoon"
  7. Else
  8. salam = "Good evening"
  9. End If
  10.  
  11. speaks = salam + "ISI DENGAN KALIMAT SESUKA ANDA, PAKE BAHASA INGGRIS LEBIH BAGUS"
  12. Set speech = CreateObject("sapi.spvoice")
  13. speech.Speak speaks
Advertisement
Add Comment
Please, Sign In to add comment