Sunday, 12 October 2014

Notepad Tricks : Part 1

Hi friends, let's see some notepad tricks. These tricks are harmless and are useful.


  • Test Your Anti-Virus 

You can also test your anti virus program for its effectiveness using a simple notepad trick. Steps: 
  1. Open Notepad.
  2. Copy following code
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
      3.Save it with an .exe extension like testvirus.exe

This test is also known as EICAR (European Institute for Computer Antivirus Research) test file.
The file is simply a text file of either 68 or 70 bytes that is a legitimate executable file called a COM file that can be run by Microsoft operating systems and some work-alikes (except for 64-bit due to 16-bit limitations), including OS/2. When executed, it will print “EICAR-STANDARD-ANTIVIRUS-TEST-FILE!” and then stop. The test string was specifically engineered to consist of ASCII human-readable characters, easily created using a standard computer keyboard. It makes use of self-modifying code to work around technical issues that this constraint makes on the execution of the test string.


  • Make your Computer Speak

  1. Open Notepad file
  2. Copy and paste the mentioned code :
Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message
 
 
     3.Save this file with any name with .vbs as extension. For eg. Speak.vbs



       Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK.

    This Notepad trick allows you to create Notepad Diary in such a way that whenever you edit your note, it will get saved with date and timestamp automatically.

    •  Make your Computer Welcome you
    With this trick, you can make your Computer welcome you in its computerized voice. You can make your Windows based computer say "Welcome to your PC, Username."
    Make Windows Greet you with a Custom Voice Message at Startup
    Steps : 
    1. Open Notepad.
    2. Copy and paste following code 
    Dim speaks, speech
    speaks="Welcome to your PC, Username"
    Set speech=CreateObject("sapi.spvoice")
    speech.Speak speaks

         3.  Replace Username with your own name.
         4.  Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Welcome.vbs or "*.vbs".
         5.  Copy the saved file.
         6.  Navigate to C:\Documents and Settings\All Users\Start Menu\Programs\Startup (in Windows XP) and to C:\Users\ {User-Name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (in Windows 7, Windows 8 and above and Windows Vista) if C: is your System drive. AppData is a hidden folder. So, you will need to select showing hidden folders in Folder options to locate it.
         7.  Paste the file.

    Now when the next time you start your computer, Windows will welcome you in its own computerized voice.

    Note: For best results, it is recommended to change sound scheme to No Sounds.
    You can change the sound scheme to No Sounds by following the steps given below:-
    1.      Go to Control Panel.
    2.      Then click on Switch to Classic View.
    3.      Then Click on Sounds and Audio Devices.
    4.      Then Click on the Sounds Tab.
    5.      Select No Sounds from the Sound Scheme option.
    6.      If you wish to save your Previous Sound Scheme, you can save it by clicking Yes in the popup menu.
    7.      Click on OK.
    Try it yourself to see how it works. In my personal opinion, this is an excellent trick. Whenever I start my PC in front of anybody and the PC welcomes me, the fellow is left wondering how brilliant a computer do I have.

    No comments:

    Post a Comment