What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » first time install script

first time install script
Author: Message:
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: first time install script
code:
var Shell = new ActiveXObject("WScript.Shell");

function OnEvent_Initialize(MessengerStart){
    try{
        if(Shell.RegRead(MsgPlus.ScriptRegPath+Messenger.MyEmail+"\\FirstRun") != "false"){//If FirstRun is not false
            Debug.Trace("This is the first run");
            //Display Welcome Window
            Shell.RegWrite(MsgPlus.ScriptRegPath+Messenger.MyEmail+"\\FirstRun", "false")//Set FirstRun to false
        }
    }catch(e){//If key doesn't exist
        //Display Welcome Window
        Debug.Trace("This is the first run");
        Shell.RegWrite(MsgPlus.ScriptRegPath+Messenger.MyEmail+"\\FirstRun", "false")//Set FirstRun to false
    }
}

This post was edited on 01-28-2007 at 04:07 PM by Felu.
01-28-2007 04:05 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
first time install script - by cameron.stokes3 on 01-28-2007 at 03:39 PM
RE: first time install script - by Felu on 01-28-2007 at 03:44 PM
RE: first time install script - by cameron.stokes3 on 01-28-2007 at 03:46 PM
RE: first time install script - by Felu on 01-28-2007 at 04:05 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On