Prank Script Collection – A Fun Way to Entertain Yourself with Computer Scripts

3. Enabling and Disabling Persistent Caps Lock

Set wshShell = WScript.CreateObject(“WScript.Shell”)
Do
    WScript.Sleep 100
    wshShell.SendKeys “{CAPSLOCK}”
Loop

This script can cause interference on the target computer by enabling and disabling Caps Lock continuously, which can confuse or make it difficult for the user.

Make sure not to misuse this script on someone else’s computer without permission.

4. Opening and Closing CD/DVD Drive Automatically

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
        WScript.Sleep 2000
        For i = 0 To colCDROMs.Count - 1
            colCDROMs.Item(i).Eject
        Next
    End If
    WScript.Sleep 5000
Loop

5. Pressing the Enter key constantly

Set wshShell = WScript.CreateObject(“WScript.Shell”)
Do
    WScript.Sleep 100
    wshShell.SendKeys “ (enter)”
Loop

6. Pressing the Backspace Button Constantly

MsgBox “Return to the previous menu”
Set wshShell = WScript.CreateObject(“WScript.Shell”)
Do
    WScript.Sleep 100
    wshShell.SendKeys “{BS}”
Loop

7. Opening Notepad Constantly

ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

8. Opening Notepad and Auto typing

WScript.Sleep 1800
WScript.Sleep 100
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 50
WshShell.SendKeys “your”
WScript.Sleep 50
WshShell.SendKeys “ugly”
WScript.Sleep 50
WshShell.SendKeys “!”
WScript.Sleep 50
WshShell.SendKeys “!! “

Conclusion

Using a prank script can indeed be an exciting way to add fun and humor to everyday life. However, it is very important to always remember that creativity must be balanced with ethics. Don’t let the script you create cause problems, interfere with people’s work, or damage data. Creativity in making a prank script is cool, but it must be accompanied by consideration and responsibility to stay within reasonable and safe limits.

Exploring new ideas can make your script even more unique and fun. Try different techniques, learn new programming languages, and don’t hesitate to try different things, as long as you maintain ethics and safety. The fun of creating a prank script will increase as you continue to experiment with fresh ideas.

Latest Articles