What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Wanted] Keep personal status

[Wanted] Keep personal status
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [Wanted] Keep personal status
I did creat a script that restores your personal message, but I can't restore the personal status because the scripting interface has no access to that.

code:
function OnEvent_Signout(Email)
{
  try
  {
    WriteRegistry("psm", Messenger.MyPersonalMessage);
  }
  catch(err)
  {
    Debug.Trace("   WRITE REGISTRY FAILED");
  }
}

function OnEvent_Signin(Email)
{
  try
  {
    Messenger.MyPersonalMessage = ReadRegistry("psm");
  }
  catch(err)
  {
    Debug.Trace("   FAILED RESTORING PSM");
  }
}

function WriteRegistry(key, value)
{
  var Shell = new ActiveXObject("WScript.Shell");
  Shell.RegWrite(MsgPlus.ScriptRegPath + Messenger.MyEmail + "\\" + key, value);
}

function ReadRegistry(key)
{
  var Shell = new ActiveXObject("WScript.Shell");
  return Shell.RegRead(MsgPlus.ScriptRegPath + Messenger.MyEmail + "\\" + key);
}
[Image: 1-0.png]
             
07-17-2006 01:58 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Wanted] Keep personal status - by PatrickKL on 07-17-2006 at 01:04 PM
RE: [Wanted] Keep personal status - by Squelettor on 07-17-2006 at 01:07 PM
RE: [Wanted] Keep personal status - by Ezra on 07-17-2006 at 01:14 PM
RE: [Wanted] Keep personal status - by PatrickKL on 07-17-2006 at 01:53 PM
RE: [Wanted] Keep personal status - by RaceProUK on 07-17-2006 at 01:56 PM
RE: [Wanted] Keep personal status - by Ezra on 07-17-2006 at 01:58 PM
RE: [Wanted] Keep personal status - by PatrickKL on 07-17-2006 at 02:21 PM
RE: [Wanted] Keep personal status - by CookieRevised on 07-17-2006 at 04:32 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