How to make notepad write on its own?
1. Open notepad
2. Copy this scripts in notepad:
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 "0"
This will make notepad type Hello. You can make your own custom message by replacing the letters between the " " signs with the one you want.
Now save the file. Type the name of the file with the extension .vbs and make sure that File Type is All Files not text file.
When you double click on it, Notepad will start typing letters...
That's all...
Please click the thanks button if you find this thread interesting and useful. Thanks!
No comments:
Post a Comment