Skip to main content

Make You Notepad To Write Automatically:


Last day I thought you, How to make your computer to speak whatever you type.
And today I am going to tell you how to make your notepad to write automatically.
Just follow the steps 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"

---------------------------

1. open a notepad,
2.copy the code above and save it with .vbs extension

for ex: 123.vbs instead of savind it as .txt,
3.then open it and have fun.

*Stay tune for more updates.
I you like this post then leave your comment below it'll be helpful for me to work forward.

Comments

We think you like these too...

iOS 11.4 Brings Stereo Pairs and Multi-Room Audio With AirPlay 2

Learn Hacking: Part 2: Programming:

Google not rolling Orkut into Google+