How To Make Notepad Write On Its Own

1. Open the Notepad and Type the Code Given Below.

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 " "
WScript.Sleep 500
WshShell.SendKeys " Friends"



2. Save it as anyname.vbs (Note the vbs extension)

3. Now Open the anyname.vbs file by doublecliking on it and see the Magic..



Note: Wscript.Sleep 500 is for delay (delay that you want to introduce between writing words) and
WshShell.SendKeys " Any Text that you Want to Display"

0 Response to "How To Make Notepad Write On Its Own"

Post a Comment

You Comments Are Welcomed!