Top 10 Cool Programming Tricks In Notepad
Note:- How to terminate VBS processes
Before start to have fun with these cool notepad tricks, you should know that the problem while trying files with “.vbs” extension is that you might not find how to stop these processes you have just initiated and for that follow the steps below-
- Open your Task Manager
- Search for a process named “wscript.exe” or “cscript.exe”.
- Right click that process and click “End Process” and again “End Process”
- Voila !! You have ended the process, now no more drive ejection or other hacks will work until you start them again.
1:- Make Your Keyboard Type (Any) Message Continuously-VBS Trick
This VBS trick can make any of your friend's keyboard type any message continuously.Set wshShell = wscript.CreateObject("WScript.Shell")Send this file to your friends as an email attachment to see the fun.
do
wscript.sleep 100
wshshell.sendkeys "This is a Virus. You have been infected."
loop
2:- Create a Harmless Funny Virus To Continuously Eject CD/DVD Drives
This VBS trick will create a code which will continuously eject all your connected Optical drives. If you put them back in, it will pop them out again. Copy this code and paste it in Notepad as Virus.vbs or *.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
Double click to open this file and you will be impressed by this awesome trick.
3:- 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
4:- Notepad trick to Test Antivirus
By using this trick, you can easily test whether your antivirus working perfectly or not.
X5O!P%@AP[4PZX54(P^) 7CC)7}$EICAR-STANDARD- ANTIVIRUS-TEST-FILE!$H+H*
Save it as test.exe and run the file and check if your antivirus detects it then your antivirus is working perfectly otherwise change your antivirus.
5:- Notepad Trick to type slowly
This trick will let you to type slowly on the screen and to do so, just copy the below code and save it with “cybomaniacx.vbs” name.
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:- Matrix Effect
This code will give you matrix effect on your screen just copy the below code and paste in notepad and save it as “cybomaniacx.bat”.
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
7:- Format Hard Disk Using Just Notepad
This code will delete all your hard drive data. Just copy the below code and paste in notepad and save it as “anyname.exe”.
01100110011011110111001001101101011000010111010000 100000011000110011101001011100 0010000000101111010100010010111101011000
This trick is one of the Best Notepad Trick that will print out a tree root on your screen. Just copy below code, paste it into notepad and save it as teekids in C:windows system.
{print tree root}
C:windowssystem
{print C:windowssystemwinlog
4*43″$@[455] 3hr4~
10:- Random PIN Generator
11:- Virtual Calculator
@echo off
title Batch Calculator by CybomaniacX
color 1f
:top
echo --------------------------------------------------------------
echo Welcome to Batch Calculator
echo --------------------------------------------------------------
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo --------------------------------------------------------------
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit
Step 2:- Save as a .bat file.Step 3:- Math away.
Comments
Post a Comment