Thursday, April 2, 2009

Make your Friends Fool through VBS file.

 If you want to make someone fool using Outlook then here is the best way.

We have written a VBS file that simply opens the outlook creates a new mail, enters the TO recipient, writes something in the subject and email contents and send it. 

If you are thinking that it is just a joke fro April month then you are totally wrong. Yes this is possible. How to create this vbs file? Please go through the steps:-

1.       Open a notepad and write the code given below.

 

Set WshShell = WScript.CreateObject("WScript.Shell")

 

WshShell.Run "Outlook"

 

WScript.Sleep 2500 ' Give Notepad some time to load

 

WshShell.SendKeys "^{n}"

 

WScript.Sleep 1000

 

WshShell.SendKeys "abcd@abcd.xyz"

 

WshShell.SendKeys "{TAB}"

 

WshShell.SendKeys "{TAB}"

 

WshShell.SendKeys "{TAB}"

 

WshShell.SendKeys "{TAB}"

 

WshShell.SendKeys "{TAB}"

 

WScript.Sleep 200

 

WshShell.SendKeys " Hi ABC, I accept that I am a FOOL ...and you made a fool out of me today ... I don’t think God planted brains in my head!!!!...otherwise I would have checked out the code first! you are great. hats off for you    …..With Regards, DUMBO D' GREAT  "

 

WScript.Sleep 400

 

WshShell.SendKeys "%{s}"

 

2.      Enter the recipient name in place of “abcd@abcd.xyz“ and enter the content which you want.

3.      Now save this notepad with any name having extension .vbs.

4.      Double click the vbs file you will see automation in your outlook.

 

Enjoy by fooling your friends (especially Non-Technical).