How to Write the Text automatically in Notepad

How to Write the Text automatically in Notepad

Herbalist Dr MziziMkavu

Platinum Member
Joined
Feb 3, 2009
Posts
43,111
Reaction score
34,943
How to Write the Text automatically in Notepad


Today I will show you " How to Write the Text automatically in Notepad" .
This is a really an Awesome Trick. You really enjoy it...
You can show Your Friends and say that My Notepad Writes Automatically.. So Read On..




STEPS:
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 "Thanx"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "for"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "the"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "visit"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "richeshah.blogspot.in"






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..


41802d1177765259-nice-notepad-icon-.png






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".
 

Similar Discussions

Back
Top Bottom