BTemplates.com

Search This Blog

Thursday, 23 July 2015

Notepad Tricks III


In this post here below are shown some cool Notepad trick which can be used in your Windows PC.

Create Fake Windows Errors With Notepad Procedure:
Step1: Open Notepad (Press Windows key + r and type notepad and hit Enter).
Step2: Copy and Paste the following text into the notepad window.
X=Msgbox(“Message Here”,0+16,”Title Here”)

Step 3: Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
Step 4: Now Save the file as Error.vbs (Press Ctrl + s and write the file name as Error.vbs and Choose Save as type to All Files)
Step 5: Now, click the file and you’ll get your custom-made Windows error message.

Force Shutdown Your Windows Procedure:
Step1: Open Notepad (Press Windows key + r and type notepad and hit Enter).
Step2: Copy and Paste the following text into the notepad window.
@echo off
msg * Shutdown computer
shutdown -c “Sleep Tight” -s

Step 3: Now Save the file as Shutdown.bat (Press Ctrl + s and write the file name as Shutdown.bat and Choose Save as type to All Files)
Step 4: Click on your file and it will automatically shutdown your Windows.

Note: The file name could be anything but the extension must be .bat.

Make Computer To Speak Your Sentence Procedure:
Step1: Open Notepad (Press Windows key + r and type notepad and hit Enter).
Step2: Copy and Paste the following text into the notepad window.
Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message 

Step 3: Now save the file as ABC.vbs (Press Ctrl + s and write the file name as ABC.vbs and select file type as All Files)
Step 4: Open your saved file, it will open a prompt. Enter the sentence you want your computer to speak.
Step 5: Click OK and Notepad will speak the sentence for you.

Note: The file name could be anything but the extension must be .vbs.

0 comments:

Post a Comment