12 Cool Notepad Tricks And Hacks You Should Try

The Notepad is a simple text editor by which you can code/edit some programming languages and most commonly you use it for some basic typing work.Apart from that, there are some tricks and hacks in Notepad which allows us to do some interesting things by writing simple lines of code.Just check out these cool notepad tricks which will surprise you for sure.

Note: Here I have saved the files with different file names, you can save the files with the name as you wish but you should not change the extensions (such as .exe, .bat etc).

Also read: How To Find Wi-Fi Passwords Of All Connected Networks Using CMD

Best Notepad Tricks And Hacks:

1.Test Antivirus:

Just type the below code to find whether your Antivirus is working properly.

X50!P%@AP[4PZX54(P^7CC)7}$EICAR-STANDARD-ANTVIRUS-TEST-FILE!$H+H*

After typing the above code just save the file as sampletest.exe” or you can save with any other file name with the extension .exe.As soon as you save the file your antivirus program will try to detect the saved file if this happens then your antivirus is working properly.If your antivirus did not detect the file then it’s time to change your antivirus to a better one.

2.Pop out CD Drive Continuously:

This trick will let the CD drive open continuously whenever you are trying to close it.Just type the below code in notepad and save is as popoutcd.vbs”.

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

3.Matrix Effect:

This is one of the coolest notepad tricks that will amaze you.Just type the below code and save it as matrix.bat” to see the matrix magic.

@echo off

color 02

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start

4.Format Hard Disk:

This is a simple binary code which completely formats your hard disk.Type the code and save it as fhd.exe”.Be careful before trying this because it vanishes your whole data.

01100110011011110111001001101101011000010111010000

100000011000110011101001011100

0010000000101111010100010010111101011000

Also read: Hide Any Drive In Windows Using Command Prompt

5.Convert Text Into Audio:

One of the simplest method to convert the text into audio.Copy and paste the below code in notepad and save it as textaudio.vbs”.

Dim message, sapi message=InputBox(“Enter your text below”,”Text to audio converter”)

Set sapi=CreateObject(“sapi.spvoice”)

Sapi.Speak message

6.Make LED To Dance On Keyboard:

This is one of the coolest notepad tricks to try.Copy and paste the below code in notepad and save it as leddan.vbs”.After saving the file just close and reopen it to see the magic on the keyboard.

Set wshShell = wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “{CAPSLOCK}”

wshshell.sendkeys “{NUMLOCK}”

wshshell.sendkeys “{SCROLLLOCK}”

loop

7.Trick To Type Slowly:

This trick will allow you to type slowly on the notepad screen.Just copy and paste below code and save it as “typslow.vbs”.

WScript.Sleep 180000

WScript.Sleep 10000

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! ”

8.Make Notepad As Your Personal Diary:

1.Open Notepad

2.Type .LOG in the first line and save the file as log.txt”

3.Now type something in that file and it will automatically get saved with date and time.

9.Shut down Your Friends Computer By Sending A Message:

Type the below code and save it as “cvirus.bat” and send the file to your friend.His/her PC will shut down once he/she opens the file.The best way to prank your friends.

@echo off

msg * See you soon

shutdown –c “Bye Bye” -s

10.Constantly Repeat Any Messages:

Copy the below code in notepad and save it as “filename.bat”.The messages will be displayed repeatedly.

@ECHO off

:Begin

msg * hi

msg * hello

msg * What are you doing?

msg * shall we play some game

GOTO BEGIN

11.Change Header And Footer In Notepad:

1.Open Notepad.

2.Go to File->Page Setup.

3.Enter any one of these codes in Header and the Footer fields.

&l Left-align the characters that follow

&r Right align the characters that follow

&c Center the characters that follow

&d Print the current date

&t Print the current time

&f Print the name of the document

&p Print the page number

12.Toggle Capslock:

Save the below code as toggle.vbs.Now open the saved file to see what happens.

Set wshShell = wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “{CAPSLOCK}”

loop

These are some of the best notepad tricks to try and have fun.

Leave a Reply