Password VBScript Prank // Notepad Tricks
by VB Scripting in Circuits > Computers
10527 Views, 22 Favorites, 0 Comments
Password VBScript Prank // Notepad Tricks
What You Need
What you need - Notepad and A Windows Computer (Version 7 through 8.1 works)
How To
Open Notepad.
Copy and paste this code into Notepad.
dim speechobject
set speechobject=createobject("sapi.spvoice")
pw=inputbox("Enter your password.")
if pw="password" then msgbox ("Correct password.") else msgbox ("Incorrect.")
if pw="password" then msgbox ("This script was made by VB Scripting // Nick Smith") else speechobject.speak "Incorrect."
The password is, you guessed it, password. Just change the text "password" into whatever you want the password to be. Remember to keep the quotation marks around the text!
Save It
Now all you have to do is save the file as passwordprank.vbs or something like that. You must save it as a .vbs file, or else it will not work. Do not save it as .txt!
Now open the file and have fun!
Credits
Tutorial made by VB Scripting, working along with Nick Smith. Thanks to instructables.com for the quick and easy layout.