Cool Notepad tips and tricks


Shutting Down Computer Using Notepad

The Notepad trick code written below does just 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

Open Notepad Continually in Your Friend’s Computer

Trick to play with your friend’s system would be to set off a command which would open his/her notepad repetitively.
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Save it as a .vbs file and open it to see what happens.

Make A Personal Log-Book or A Diary

A special feature which allows us to make a log exists in notepad. Using it we can make logs of stuff as notepad will put the date and time for us whenever we open a specific type of Log file.
For doing this, just type ‘.LOG’ in the notepad and save it under any name that you wish. 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.

Matrix Effect

Trick that can turn our command prompt into something that looks like it just came out of the matrix movie, or maybe something that looks like something straight out of 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 you’ll need to save this file with an extension .bat , and upon clicking on the .bat file that you have created, you’ll see something like this.

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

Converting Text to Speech Using Notepad.

Just copy and paste the code down below into notepad and save as a .vbs file.  When you play it, you’ll get a dialog box asking what you want the computer to say. Have fun.
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

Hit Enter Continuously

What if we wished to use the function of our enter button happen again and again, a better idea than to press it again and again would be to use the code below
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop

Hit Backspace Continuously

We need the backspace button, but what is we wish to annoy someone and make it press itself again and again, mechanically it would require some work on our part, but if we just use this code, it would become a lot more easier.
MsgBox “Backspace again and again and AGAIN”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

Save as a .vbs file to make it work.

Typing Something Again and Again

A code to type something again and again is mentioned below, you can use it to write anything again and again and again, until you get it out of the loop.
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “I'll be typed again and again”
loop

save it as a .vbs file to make it work.

Create Fake Windows Errors With Notepad

This is another very cool Notepad trick that allows you to create Fake error messages. You can create Fake error message with any message. To do this, follow these steps:
·         Open Notepad
·         Type X=Msgbox(“Message Here”,0+16,”Title Here”)
·         Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
·         Save the file with error.vbs.
Now, click the file and you’ll get your custom-made Windows error message.

Create Password-protected Folder using Notepad

Why to use any folder-locking software when your simple text editor, Notepad can lock your folders? To use this Notepad tricks, follow these steps:

Open Notepad
Copy the following code:

@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p “cho=>”
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== digital.guide goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


·         digital.guide written in red is password. Change it to your own password.
·         Save the file as private.bat with File Type As All Files (*.*).
·         Now, when you click private.bat, it will create a Private folder. Move your private files, documents and folders here.
·         Close Private folder.
Now, no one will be able to open the folder without the password.

 

Make Your Keyboard LED Dance

Your keyboard has three LEDs above numpad of Scroll Lock, Caps Lock and Num Lock. This Notepad trick will make those three LED continually on and off, creating dancing effects. To do this, follow these steps:
Open Notepad
Enter following code
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop

·         Save the file as Dance.vbs
·         Click the file and your all three LED lights will start dancing.
To stop, Shut down or Log off your PC. 

0 comments:

Post a Comment