Simple Notepad Tricks

Note: Almost all of these tricks works on Windows XP, But some of these might not work on Windows 7.

1.) Create a log or Dairy:

  • Open the Notepad.
  • On the first line  type “.LOG” (without quotes) and press Enter for new line.
  • Type anything in the second or third line and save the file.
  • Notepad will automatically add a time & date log every time you open this file in the future.

2.) Matrix Effect:

Copy the below text in a notepad :

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Save the file with .bat extension. For eg: Matrix.bat

3.) Continually pop out CD Drive:

Copy the below text in a notepad :

Set oWMP = CreateObject(“WMPlayer.OCX.7?)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

Save it as “Something.VBS”.

4.) Continuously Display Messages:

By using this trick you make computer to display messages continuously and annoy user to log off to get rid of this crazy file!

Copy the below text in a notepad :

@ECHO off

:Begin

msg * Hi

msg * Are you having fun?

msg * I am!

msg * Lets have fun together!

msg * Because you have been o-w-n-e-d

GOTO BEGIN

Save the file with .bat extension (for eg Something.bat and open the file to get annoyed!)

5.) Toggle Keyboard Button Simultaneously:

By using this trick you can make your keyboard key (which you mention in the program) to toggle continuously.

Copy the below text in a notepad :

To toggle Capslock key continuously :

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop

To toggle enter key continuously :

Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop

To toggle Back space continuously :

MsgBox “Lets Rumble”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

Now save the file with .vbs extention. For eg Something.VBS

That's it! Thanks to (http://www.goharsh.com)

Feel free to hit Like, Share or Comment if you like this post.

0 comments:

Post a Comment