Simple Notepad Tricks

No comments
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 startSave 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
loopSave 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 BEGINSave 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}”
loopTo toggle enter key continuously :

Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loopTo toggle Back space continuously :

MsgBox “Lets Rumble”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loopNow save the file with .vbs extention. For eg Something.VBS

No comments :

Post a Comment