Pages

Ads 468x60px

Dec 14, 2011

[TRICK] How to Make Words Appear in Notepad Without Typing

This is a trick on how to make words or sentences to type by themselves without you having to type them.

In this example, I'm going to make the word 'Hello?' to type by itself.

Step 1
Open a new blank Notepad.

Step 2
Type the following coding in the new blank Notepad (or just copy & paste them):

Set a = wscript.CreateObject ("wscript.shell")
a.run "Notepad"
wscript.sleep 1500
a.AppActivate "Notepad"
a.Sendkeys "place any letter/alphabet here"
wscript.sleep 500

Explanation:
The value in Blue color is set to determine when will the 1st letter appear. The larger the value, the longer the time taken for the 1st letter to appear.

The value in Green color is set to determine the time gap for each letter to appear. The larger the value, the longer the gap between each letter.


Step 3
Copy the last 2 lines. To make the word Hello?, you need to add 5 more of the lines. (Refer to video tutorial).

Step 4
Save the file as anything you want, but, with extension (.vbs). I saved mine as hello.vbs. Make sure you choose 'All Files' from the save files type options.


Step 5
Double-click to open the .vbs file. Then, you'll see the word 'Hello?' appears by itself!


VIDEO TUTORIAL


Notes: You can also replace the letter with word or sentence to make them appear in specific time.


Tested OS: Windows Developer Preview (32-bit)

Tutorial by basicxtutorial.

0 comments:

Post a Comment