Hello again!

I decided to share with you more notepad tricks.....

The first one will show you how old you're going to be after 39 years.
And the second - in which year you're going to be 50.

I hope you like them:)

here are the results:)))

Step 1: Trick number 1

This trick will show you how old you'll be in 39 years.

1. Open notepad
2. Type this code:

WScript.Echo "Hello!"

Set WshShell = WScript.CreateObject("WScript.Shell")
age = InputBox("Please type your age.")

newage = age + 39
WshShell.Popup "In 39 years, you will be " & newage & "."

3. Go to File - save as and save it like this age ( or something else). vbs
It doesn't matter what will be the name, but it have to end with .vbs

4. That's it!!!

NOTE: You can change 39 with other number if you want. But don't forget to change it in both places!!!
Please post another VBScripts..
yeah, i want more<br>
will you teach me ..! <br>manually? <br>i want to learn about notepad..!
i dont understand&nbsp; <br />
What exactly you don't understand?<br />
mmmkay,I read a couple tutorials on VBS and i decided to try to write something of my own. I'm having problems. It says the &quot;Next&quot; at the end is unexpected. I have the For at the begining, so why is this happening?<br/><hr/>For a=1 to 3<br/>dim b<br/>b=1<br/>if b=1 then<br/>msgbox&quot;Hi&quot;<br/>if b=2 then<br/>msgbox&quot;How are you?&quot;<br/>if b=3 then<br/>msgbox&quot;That's great&quot;<br/>b=b+1<br/>next<br/><hr/>
what are you truing to accomplish with the 'next'?
could you embed one in the spider solitaire so it shows an error and exits spider solitaire
if you would like to see some practical examples of VBscripts check out my 2 scripts here:<br/><a rel="nofollow" href="http://www.instructables.com/id/Program-your-PC-to-turn-off-automatically-by-asign/">http://www.instructables.com/id/Program-your-PC-to-turn-off-automatically-by-asign/</a><br/><a rel="nofollow" href="http://www.instructables.com/id/Make-your-windows-XP-talk/">http://www.instructables.com/id/Make-your-windows-XP-talk/</a><br/>
Hello, old friend. How is your line of work coming?
these aren't really jokes but i guess if you want a chance at winning the random prize...
"I decided to share with you more notepad tricks....." You are the only person to say that they were jokes. Try to read more carefully.
i said, if you paid more attention ====<strong>&quot;these aren't really jokes&quot;</strong>====<br/>therefore meaning you shouldnt have entered them in the april fools day contest <br/>
<em>which</em> he did.<br/>
That is exactly what happened. Nice call.
For anyone who cares/is interested, you can convert your .vbs 'creations' into .exe by going here and getting a copy of VbsToExe: <a rel="nofollow" href="http://www.f2ko.de/English/v2e/index.php">http://www.f2ko.de/English/v2e/index.php</a><br/><br/>Sorry, I've only been able to find the CMD utility, but the syntax is pretty straight-forward.<br/>
These aren't notepad tricks. It's Windows Scripting (VBScript). You can do this in any text editor. You should change the title to something referring to VBScript
I changed it.

About This Instructable


31 favorites


More by slu6alka: Fried bananas - recipe Fried bananas (photos) Origami collection
Add instructable to: