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

5 BEST Techniques to Start Business on Instagram in 2021

5 BEST Techniques to Start Business on Instagram in 2020 Instagram one of the most…

1 week ago

Best Steps to Check Who Viewed My WhatsApp Profile

WhatsApp has become a favorite of users forever for instant communication. WhatsApp is now completely…

1 week ago

12 Best Restaurants Accounts on Instagram in 2020

After giving the tips and hacks about Instagram Restaurant Marketing here are some live examples…

1 week ago

Epiphany of Instagram Ad Agencies-A Detailed Review

Instagram one of the most engaging platforms to flaunt business online – a past report…

1 week ago

BEST Social Media Marketing Strategies | Epiphany of Instagram Marketing in 2020

BEST Social Media Marketing Strategies Social media has grown to become an important tool for…

1 week ago

How To Make WhatsApp Video Call in Laptop?

How To Make WhatsApp Video Call in Laptop? WhatsApp is an American freeware, cross-platform most…

1 week ago