Just for fun........
1. Open Notepad.
2. Copy this script in Notepad:
PHP Code:
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "H"
WScript.Sleep 500
WshShell.SendKeys "ell"
WScript.Sleep 500
WshShell.SendKeys "o "
WScript.Sleep 500
WshShell.SendKeys "how"
WScript.Sleep 500
WshShell.SendKeys " r"
WScript.Sleep 500
WshShell.SendKeys " u?"
WScript.Sleep 500
The little program will make your Notepad type "Hello how r u?".
You can always make your custom message by replacing the letters between the " " signs with the ones you want.
You can add more lines like the following ones for more letters:
WScript.Sleep 500
WshShell.SendKeys "insert here your letter of group of letters "
3. Now save the file. Go to File->Save as. Type the name of the file with the extension .vbs.
For example if you want to choose the name ben, type ben.vbs. Also be sure that File
type is All files not Text file!
4. When you doubleclick on it, Notepad will start typing letters. you can use it to prank your friend, just for fun..
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment