Best Notepad tricks and hacks Part-2

Post written by
   Hey friends ! Today I am going to share Notepad tricks to you.The notepad tricks showing below are very simple but interesting you can do it with simple batch programming and vbs  . By this post we will know how powerful is the batch programming and how funny with notepad . Hey I have already posted the part 1 of this tutorial

See it here:- Best Notepad tricks and hacks Part-1



6. Matrix Effect

Not much to explain, just follow the steps and see the amazing matrix effect happen in your DOS window:


  • Open Notepad.
  • Copy the below mentioned text in your notepad file:

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
  • Save the file with .bat extension like Matrix.bat


Thats it. Just open the file to see the matrix effect right before your eyes!



Matrix Effect



7. Change The Header/Footer Of Your Notepad File
More often than not whenever you get a printout of your notepad file, it starts with “Untitled” or the filename at top, and “Page ” on bottom. Now if you want to get rid of it or want to change it, just follow the simple steps given below.


  • Open Notepad.
  • Click on File -> Page Setup.

Change The Header/Footer Of Your Notepad File

  • Replace the text written in the “Header” and “Footer” box (as shown above) by any of the following codes:


&l Left-align the characters that follow
&c Center the characters that follow
&r Right-align 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
 8. Constantly Repeat Messages

 Using this notepad trick you can annoy anyone and can actually force them to log off or leave the computer (LOL….). This notepad trick will create an infinite cycle of a message in the computer. Follow the steps to know more:


  • Open Notepad.
  • Paste the following code in the notepad file:


@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 any file name but with .bat as extension and close it. For eg. Freakymessage.bat

After saving the file just open it (by double clicking) and see what happens.
Pssstttt……. You can piss of your friends by sending it as an email attachment asking them to try it out !


9. Shut-down The Computer After Conveying Any Message

 This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps:


  • Open Notepad.
  • Paste the following code in it:


@echo off
msg * Its time to get some rest.
shutdown -c “Error! You have to take rest! Byeeeeee” -s
  • Save the file with any name but with .bat extension and close it. For eg. TakeRest.bat


NOTE : Use this carefully. If you are playing prank then keep in mind that this may lead to loss as it shuts down the computer forcefully.


10. Toggle Keyboard Button Simultaneously

 Using Notepad (and VB) you can set different keys on your keyboard to toggle continuously. Following are the 3 tricks using which different keys can be set to toggle simultaneously. Follow the steps given under each head to try out the tricks.

1. Caps Lock Key


  • Open Notepad.
  • Paste the following code in the notepad file:


Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
  • Save the file with anyname and .vbs extension. and close it.
  • Now open the newly created file and see how the caps lock key behaves on your keyboard!


2. Hit Enter Key Continuously


  • Open Notepad.
  • Paste the following code in the notepad file:


Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
  • Save the file with any name and with .vbs extension and close it.
  • Now open the newly created file and see how the key behaves!


3. Hit Backspace Key Continuously


  • Open Notepad.
  • Paste the following code in the notepad file:

MsgBox “Lets Rumble”Set wshShell =wscript.CreateObject(“WScript.Shell”)dowscript.sleep 100wshshell.sendkeys “{bs}”loop
  • Save the file with any name and with .vbs extension and close it.
  • Now open the newly created file and see how the key behaves!
In order to end the vbs script (stop continuous key presses), open task manager and end the wscript.exe process as shown in image below.


Toggle Keyboard Button Simultaneously


That's all friends please keep visiting and don't forget to like our facebook page on right


Comments