where "any name" is put whatever you want to save it as, just make sure it has .vbs on the end
Disco on your keyboard
Code:
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
Make the computer talk
Code:
strText = "your message here"
Set objVoice = CreateObject("SAPI.SpVoice")
objVoice.Speak strText
Where the text "your message here" is type what you want the computer to say. This process ends by itself
Make the computer go "ding" then popup a messege
Code:
Set objVoice = CreateObject("SAPI.SpVoice")
Set objFile = CreateObject("SAPI.SpFileStream.1")
objFile.Open "c:\Windows\Media\Ding.wav"
objVoice.Speakstream objFile
Wscript.Echo "your message here"
Make the Microsoft Office assistant popup and say something
Code:
On Error Resume Next
strAgentName2 = "MERLIN"
strAgentPath2 = "C:\Windows\Msagent\Chars\" & strAgentName2 & ".acs"
Set objAgent2 = CreateObject("Agent.Control.2")
objAgent2.Connected = TRUE
objAgent2.Characters.Load strAgentName2, strAgentPath2
Set objPeter = objAgent2.Characters.Character(strAgentName2)
objPeter.MoveTo 700,300
objPeter.Show
objPeter.Play "GetAttention"
objPeter.Play "GetAttentionReturn"
objPeter.Speak("your message here")
Wscript.Sleep 1000
Set objAction= objPeter.Hide
Do While objPeter.Visible = True
Wscript.Sleep 250
Loop
Error message
Code:
lol = msgbox("your message here")

 
5 komentar:
hi! it looks like you copied and pasted all of your "tricks" here from other site. i know all ur "tricks". i think i know what site did you copied this... stop doing this. why dont you create your own "tricks"
b-b2g
It All from crazy-coderz.net
but i'm not say that all i make
i just wanna share something from other site
Berat bener bos bacaan lo.. Gw kaga ngarti. Imba2..^^ Good LUck cuy!!
oi makasih buat komen di blog gw. Eh gw cobain punya lu dulu ya. Dicoba dulu juragan :P.
Oh iya kalo mo belajar j2me baca aja blog gw ntar gw kasih tau kodingnya satu satu kok hehe :D. Kalo mo ajarin private bayar :P hihihi
Haha diese tricks sind geklaut!!! :(
Posting Komentar