that writes on it own is for sure a very weird thing, but very funny in the same time.
i will demonstrate exactly that today
1. Open Notepad.
2. Copy this script in Notepad:
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "XX"
WScript.Sleep 500
WshShell.SendKeys "XX"
WScript.Sleep 500
WshShell.SendKeys "XX"
The little program will make your Notepad type "XXXXXX". 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 Notepad, type Notepad.vbs. Also be sure that File type is All files not Text file!
4. When you doubleclick on it, Notepad will start typing letters. =)
0 comments: