Simple Notepad Tricks
Create a Log or Dairy :
Open the notepad.
On the first line type “.LOG” (without quotes) then press Enter for new line.
Type something in the second or third line and save the file.
Notepad will add a time & date log every time you open this file at anytime.
Matrix effect :
Copy the following code in a notepad :
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Save the file with .bat extension. For an example sample.bat
To continually pop
Copy the following text into a notepad :
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 it as “Sample.VBS”.
Frequently Display Messages :
With this trick you can make computer to display messages continuously and annoy user to switch off to get rid of this file!
Copy the following text into a notepad :
@ECHO off
:Begin
msg * Lets be together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
Save the file with .bat extension (for eg Something.bat and open the file to get annoyed!)
Toggle Keyboard Button Concurrently :
With this trick you can make your keyboard key to toggle continuously.
Copy the below text in a notepad :
To toggle Capslock key continuously :
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
To toggle enter key continuously :
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
To toggle Back space continuously :
MsgBox “Lets Rumble”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop
Now save the file with .vbs extention. For eg Sample.VBS
Open the notepad.
On the first line type “.LOG” (without quotes) then press Enter for new line.
Type something in the second or third line and save the file.
Notepad will add a time & date log every time you open this file at anytime.
Matrix effect :
Copy the following code in a notepad :
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Save the file with .bat extension. For an example sample.bat
To continually pop
Copy the following text into a notepad :
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 it as “Sample.VBS”.
Frequently Display Messages :
With this trick you can make computer to display messages continuously and annoy user to switch off to get rid of this file!
Copy the following text into a notepad :
@ECHO off
:Begin
msg * Lets be together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
Save the file with .bat extension (for eg Something.bat and open the file to get annoyed!)
Toggle Keyboard Button Concurrently :
With this trick you can make your keyboard key to toggle continuously.
Copy the below text in a notepad :
To toggle Capslock key continuously :
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
To toggle enter key continuously :
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
To toggle Back space continuously :
MsgBox “Lets Rumble”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop
Now save the file with .vbs extention. For eg Sample.VBS


Comments