Categories: Notepad

Notepad Tricks VBS – 8 Useful VBS Scripts in 2020

Since 1985 in windows Notepad is being used by Microsoft positively. The 1st notepad is used in windows 1.0 and now notepad++ version 7.6 is doing great. Almost everyone knows what notepad is, and despite being an easy-looking and functioning application what quite an influence it actually possesses. Notepad takes the concept of “no-frills” to the acute.  I have already discussed cool Notepad tricks in 2020. It makes up for a minimalist scratchpad for basic coding but it lacks in word-processing abilities. Apart from basic text functionality, Notepad may be a reliable repository for old-school programming languages like VBScript.

Users just perform neat little tricks means they can create simple programs to personalize Windows experiences. There are in fact better text editors out there for all you code jockeys, but Notepad is that the text editor for everybody (running Windows).

A Case Study:

I am a software engineer and I use Notepad on a daily basis for different purposes. According to me, generally, 80% of people use Notepad as a text editor only, they don’t know the versatile spheres of it but as an experienced one, I tell you that there are lots of tricks to using Notepad, among these VBS is one of the most brainstorming procedures. I am going to share my experiences on “Notepad Tricks VBS

1. Make a talky computer

1) Firstly type the following code into Notepad doc:

Dim Message, Speak

Message=InputBox(“Enter text”,”Speak”)

Set Speak=CreateObject(“sapi.spvoice”)

Speak.Speak Message

2) Next, save the file as “talk.vbs” or whatever (the important thing is that you save it as a .vbs file).

3) Then double-click on the icon to prompt a pop-up window.

4) Enter some text in the box and behold your ear holes.

2. Turn Your Keyboard Into an EDM Festival

1) Firstly, copy and paste the following code into a Notepad doc:

Set wshShell =wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “{CAPSLOCK}”

wshshell.sendkeys “{NUMLOCK}”

wshshell.sendkeys “{SCROLLLOCK}”

loop

2) Then saves the file as a .vbs file.

3) Next Double-click on the saved file.

4) A dancing situation occurred.

5) Now, you can observe that the computer is rapidly toggling the CAPS lock, NUMBER lock, and SCROLL lock on and off (which usually lights an LED on most keyboards). This is very annoying if you want to really use your keyboard for typing. If you want to get rid of this annoying situation, you have to

a) Restart the computer or

b) Go to Task Manager and end the Microsoft Windows Based Script Host.

3. Create a surprise message

1) Firstly, copy and paste the following into Notepad…

name=inputbox(“What’s your name?”)

msgbox(“Have a good day, “) + name

          2) Save it as Good day.vbs or any other .vbs file.

3) Enjoy the trick.

4. Make CD-ROM Virus

Firstly I would like to mention, this is often considered harmful for pc. Doing this might crash your computer!

****IT isn’t MY RESPONSIBILITY IF SOMETHING GOES WRONG****

  • Copy and paste the subsequent code into Notepad.

DO

Set owMP = CreateOBject(“WMPlayer.OCX.7”)

Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then

for i= 0 to colCDROMs.Count – 1

colCDROMS.Item(i).Eject

Next ‘ cdrom

End If

loop

Reserve it as CdRomVirus.vbs.

5. Multi-Tasking

Follow the below code and write on your Notepad.

Set shell=CreateObject(“wscript.shell”)

          Shell.Run(“CMD.exe”)

Set shell=CreateObject(“wscript.shell”)

Shell.Run(“Notepad.exe”)

Set shell=CreateObject(“wscript.shell”)

Shell.Run(“MSPaint”)

Set shell=CreateObject(“wscript.shell”)

Shell.Run(“MSWord”)

2) Using the above code CMD, Notepad, MSPaint, MSWord will be opened.

3) Save it as Opener.vbs

6. Calculator.vbs (Multiplication purpose)

You may use a calculator using the following code

msgbox(“HackTool VBS – Calculator – *”)

num1=inputbox(“Number 1…”)

num2=inputbox(“Number 2…”)

msgbox num1*num2

Using the above code and just by changing operators you also can do addition, subtraction, division and other mathematical works.

7. Password protect

1) Follow the given code and apply it.

pass=inputbox(“Password?”)

if pass=”Techy” then msgbox(“Correct Password!”) else msgbox(“Incorrect Password!”)

The password for this is Techy.

2) Save it as Password.vbs.

8. Make the message box

1) Follow the below code to enjoy the tricks.

msgbox(“Hello!”)

msgbox(“Hello, Again!”)

2) Inside the double quote (” “) Type what you want it to say

3) Save it as Message.vbs

To make the message box as loop follow the below code –

DO

msgbox(“Hi !”)

LOOP

You may save it as MessageboxLoop.vbs.

The Techypaw’s Guide:

This content will give you prior information about Notepad Tricks VBS. My suggestion is that some tricks are harmful so use these tricks consciously. Read the article step by step carefully and then use it. For more queries, you may contact me through the given comment box. Lastly, Thank You to all of you.

Koustav Ghosh

Computer Science Engineering Student, Coder, Content Writer. Has more than 5+ years of experience in technical content writing. Looking forward to new opportunities.

View Comments

Share
Published by
Koustav Ghosh

Recent Posts

[Works] Best Time To Post On Instagram in 2021?

To succeed on Instagram, businesses need to play the game well, which includes picking the…

1 month ago

Linktree | How To Add Multiple Websites On Instagram Bio in 2021?

In this digital world if you have multiple websites and want to send traffic on…

1 month ago

How to Logout of Instagram from ALL Devices? – In ALL Cases

Hey, do you know it's possible to log out your Instagram account which is logged…

2 months ago

INSTA -What Do You Understand When It Says Insta?[Explained]

Instagram is a free, online photo-sharing management, and social network platform that was obtained by…

2 months ago

WhatsApp Secret Chatting – How to Hide WhatsApp Chat?[Updated]

WhatsApp chats are end-to-end encrypted. This suggests that your chats are often read-only by you…

2 months ago

How to Find Where Is My WhatsApp Number? [Step-by-step]

Worried about where to find your Whatsapps number? Here we go! WhatsApp is a cross-platform…

2 months ago