Ever wanted to know how you can make that falling code effect from the Matrix movie? Programmers aren't just serious geeks sitting in front of the computers all day, they do have a sense of humour. Don't believe us? Take a look at these codes below! Note: These codes do not harm your computer. If you need to stop the Visual Basic scripts, just do so from the task manager. |
1. Matrix Falling Code
Whether you’ve watched the Hollywood flick Matrix or not, you know about the falling code in the movie for sure. Every coder has done this trick at least once in his life, whether to show off or just for fun. Here’s a code that does it!
Copy and paste this onto Notepad and save the file as *.bat.
@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks
2. Keyboard Will Type Any Message Continuously
This is a Visual Basic Scripting trick that you can use as a prank even. This code will make the computer’s keyboard type your chosen message continuously. Copy the code given below onto your Notepad and save the file as *.vbs.
Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "This is a Virus. You have been infected."
Loop
Note: Do this one after you’ve closed all other programs.
3. Email attachment trick
In essence this is a virus that you are sending, but one that is completely harmless. You can use this one as a prank on your friends too. The virus continuously keeps ejecting the computer’s CD/DVD drives. This is also a Visual Basic Scripting (VBS) trick. Copy the code onto 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
4. Personal Diary with Notepad
This is actually an Easter Egg. This will let you make a personal log using Notepad, that is, the current date and time will automatically be added before each note that you make. All you have to do is open Notepad and type ‘.LOG’ in capitals and then press Enter. Save this file and then close it. Now, whenever you open the file, the date and time will come before your note automatically. All you have to do is save after making an entry.
5. Get yourself an automated chat
Copy this code onto Notepad and save the file as .vbs since it’s a VBS trick.
idim fname
fname=inputbox(" Hi whats your name?")
fname=inputbox(" Whats up?")
fname=inputbox(" Thats kool.")
6. Shutdown computer
This code will shut down your computer. You can change the ‘00’ to as many seconds as you want.
avidemux2_cli --run j-1.js --run j-2.js --end
shutdown.exe -s -t 00
ConversionConversion EmoticonEmoticon