Dismiss Notice
You are browsing this site as a guest. It takes 2 minutes to CREATE AN ACCOUNT and less than 1 minute to LOGIN

How to Write the Text automatically in Notepad

Discussion in 'Tech, Gadgets & Science Forum' started by MziziMkavu, Jun 24, 2012.

  1. MziziMkavu

    MziziMkavu JF-Expert Member

    #1
    Jun 24, 2012
    Joined: Feb 3, 2009
    Messages: 38,538
    Likes Received: 2,808
    Trophy Points: 280
    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..


    [​IMG]





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