Tuesday 30 August 2011

NOTEPAD COOL TRICKS

NOTEPAD COOL TRICKS
Most of you familiar with notepad. It is a simple text based editor. But today I am going to discuss some cool tricks which you can perform on your computer using notepad. You can also use these tricks to scare your friends.

TRICK 1.
NOTEPAD TRICK TO SHUTDOWN COMPUTER FORCEFULLY:
Open Notepad.
Paste the following code in it:

@echo off
msg * Its time to get some rest.
shutdown -c “Byeeeeee Sweet Dreams” -s

Save the file with any name but with .bat extension and close it. For eg. Sweetdreams.bat
......................................................................................................................
TRICK 2.
OPEN NOTEPAD CONTINUOUSLY:
Open Notepad.
Paste the following code in it:

@ECHO off
 :top
 START %SystemRoot%\system32\notepad.exe
 GOTO top

Save the file with any file name but with .bat as extension and close it. For eg. notepad.bat
.......................................................................................................................

TRICK 3.
NOTEPAD TRICK TO ANNOY YOUR FRIENDS:
Open Notepad.
Paste the following code in it:
@ECHO off
:Begin
msg * Hey
msg * I Love You
msg * I Love You 2
msg * I Love You 3
msg * I Love You soo much..
GOTO BEGIN
Save the file with any file name but with .bat as extension and close it. For eg. fun.bat
.........................................................................................................................

TRICK 4.
CONVERT TEXT INTO AUDIO:
Open Notepad.
Paste the following code in it:

Dim msg, sapi
msg=InputBox("Enter your text for conversion–http://xtremehackers.blogspot.com/","Xtreme Hackers Text-To-Audio Converter")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

Save the file with any file name but with .vbs as extension and close it. For eg. voice.vbs
...........................................................................................................................

TRICK 5:
MATRIX FALLING CODE EFFECT
Open Notepad.
Paste the following code in it:

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

Save the file with any file name but with .bat as extension and close it. For eg. matrix.bat
........................................................................................................................

TRICK 6:
OPEN NOTEPAD CONTINUOUSLY:
Open Notepad.
Paste the following code in it:

@echo off
color 2
:begin
start cmd
goto begin
Save the file with any file name but with .bat as extension and close it. For eg. command.bat
.............................................................................................................................

TRICK 7:
CONTINOUSLY EJECT CD/DVD DRIVES
Open Notepad.
Paste the following code in it:
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 the file with any file name but with .vbs as extension and close it. For eg. cd.vbs
.........................................................................................................................
TRICK 8:
TYPE ANY MESSAGE IN NOTEPAD AUTOMATICALLY:
Open Notepad.
Paste the following code in it:

WScript.Sleep 1800
 WScript.Sleep 1000
 Set WshShell = WScript.CreateObject("WScript.Shell")
 WshShell.Run "notepad"
 WScript.Sleep 100
 WshShell.AppActivate "Notepad"
 WScript.Sleep 500
 WshShell.SendKeys "Hel"
 WScript.Sleep 500
 WshShell.SendKeys "lo "
 WScript.Sleep 500
 WshShell.SendKeys ", ho"
 WScript.Sleep 500
 WshShell.SendKeys "w a"
 WScript.Sleep 500
 WshShell.SendKeys "re "
 WScript.Sleep 500
 WshShell.SendKeys "you"
 WScript.Sleep 500
 WshShell.SendKeys "? "
 WScript.Sleep 500
 WshShell.SendKeys "I a"
 WScript.Sleep 500
 WshShell.SendKeys "m g"
 WScript.Sleep 500
 WshShell.SendKeys "ood"
 WScript.Sleep 500
 WshShell.SendKeys " th"
 WScript.Sleep 500
 WshShell.SendKeys "ank"
 WScript.Sleep 500
 WshShell.SendKeys "s! "
Save the file with any file name but with .vbs as extension and close it. For eg. message.vbs

No comments:

Post a Comment