Winscripter
  WSH
  Forums
  Downloads
  Books
  Links
  Amazon




Login
Register

© winscripter.com
1998-2004







Script: Hotmail Sign-In Name and Password Reminder

Posted by on Sunday, January 18, 2004 (PST)

Script: Pops up a dialog showing you your Hotmail name and password. Submitted by Tom Joyce.

 

/*****
 *
 *    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();
       }
  }   



WSH and ADSI Administrative Scripting

New Articles
  • List installed COM objects and associated ProgIDs
    Script: Lists all COM Objects and their associated ProgIDs (If available). Win32_ClassicCOMClassSetting

  • Script: File Rotator
    Script: Rotate files where the most current file has the lowest number in the archive. When files exceed the retention period, they are deleted. Typically used for log files, backups, etc..

  • Script: Create IIS Website and DNS record
    Script: Dan Casier sent me this script that will create a website and appropriate DNS record. The script is intended for Windows 2000 Server with local DNS and necessary DNS mof installed.


  • Winscripter   |  WSH   |  Forums   |  Downloads   |  Books   |  Links   |  Amazon