Thursday 25 July 2013

0 Notepad Trick Message popups..!!

This tricks will be done in notepad which is the text editor that is included in nearly all windows machines.

Remember, most scripts will either have a '.vbs' or a '.bat' file extension, don't forget to add them on when saving the file.

So, to open notepad, just hit start>all programs> accessories>Notepad

or type in the CMD 'start notepad.exe'

Message popups

This is a cool trick, that can get really irritating to unsuspecting friends.

in notepad, type, or copy and paste this :


do
MsgBox "your text here"
MsgBox "your text here"
MsgBox "your text here"
loop  

This code will bring up a message pop up, saying whatever you type into the script.

I have put 3 message boxes before it loops back to the start, but you can put as many as you want, simply by adding more of the line in the script. Make sure that you put it before 'loop' though.
Here is and Example :

Now go to File >> Save As >> "name of the file.vbs"

*Note* = Type the name of the file without quotes and .vbs is compulsory..!!



Enjoy the trick... And Wait for the next..!!


IF YOU FACE ANY PROBLEM THEN FEEL FREE TO COMMENT ...!!

YOUR COMMENT MOTIVATES ME THAT TO POST MORE AND MORE TRICKS..!


  Like us on Facebook : Ethical Hacking.

No comments:

Post a Comment