/*****
*
* Name: Hotmail.js
* Author: Tom Joyce
* Date: 7/4/2000
* Web site: http://www.tomjoyce.com
*
* Comments: Hotmail ® Sign-In Name and password reminder.
Hotmail ® email login screen loader.
*
* Important Notice:
* Hotmail.js is a Windows ® Script Host ® program that is not
* meant to disparage Microsoft ® nor mislead the public as to
* Microsoft ® sponsorship, affiliation or endorsement of this
* script, company, products or services,
* Microsoft ® Windows ® Hotmail ® are either registered trademarks
* or trademarks of Microsoft Corporation in the United States
* and/or other countries.
*
* © 2000 Tom Joyce. All Right Reserved.
*
*
*****/
var vbOKCancel = 1;
var vbInformation = 64;
var vbCancel = 2;
var vbUserName = "Sign-In Name: winscript";
var vbNewLine = "\n"
var vbPassword = "Password: passwordjs";
var vbTitle = "http://www.hotmail.com";
GetHotmail();
function GetHotmail()
{
var oShell=WScript.CreateObject( "WScript.Shell" );
var WSHShell = WScript.CreateObject("WScript.Shell");
var DialogBox;
DialogBox = WSHShell.Popup(vbUserName+vbNewLine+vbPassword,
0,
vbTitle,
vbOKCancel + vbInformation );
if (DialogBox == vbOKCancel)
{
oShell.Run( "iexplore www.hotmail.com" );
}
if (DialogBox == vbCancel)
{
WScript.Quit();
}
}