What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] Remember Status

[REQUEST] Remember Status
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [REQUEST] Remember Status
quote:
Originally posted by Ezra
Why use a txt file, and not just the registry?
Why storing it at all? :p

---

You do not need to store anything, not in the registry, not in an external file...
Simply set the default signin status of WLM each time your status changes....

This even prevents that WLM will sign in with another status first.

code:
function OnEvent_MyStatusChange(NewStatus) {
    var SignInState = new Array(6, 2, 10, 14, 18, 34, 50, 66);
    if (NewStatus >= 2) {
        var Shell = new ActiveXObject("WScript.Shell");
        Shell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\"
                                                                                + Messenger.MyUserId
                                                                            + "\\DefaultSignInState",
                       SignInState[NewStatus-2],
                       "REG_DWORD");
    }
}



quote:
Originally posted by vk3xem
Very nice Ezra.  It doesn't remember the Personalised Status but it still works great!    (Y)    Thanks.
Note: It is not possible to (re)store a personalised status as there is no way in retrieving all the settings of a temporary status. Such settings are only stored in the memory of Messenger Plus! and there are no objects in the script system to read them.


Download script pack:
http://www.msgpluslive.net/scripts/browse/index.php?act=view&id=24
http://www.msgpluslive.net/scripts/view/24-Remember-Status/

This post was edited on 12-24-2006 at 03:42 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-26-2006 02:38 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQUEST] Remember Status - by vk3xem on 06-26-2006 at 04:43 AM
RE: [REQUEST] Remember Status - by Felu on 06-26-2006 at 05:18 AM
RE: [REQUEST] Remember Status - by Chestah on 06-26-2006 at 05:42 AM
RE: [REQUEST] Remember Status - by Silentdragon on 06-26-2006 at 09:55 AM
RE: [REQUEST] Remember Status - by Ezra on 06-26-2006 at 10:34 AM
RE: [REQUEST] Remember Status - by vk3xem on 06-26-2006 at 01:55 PM
RE: [REQUEST] Remember Status - by CookieRevised on 06-26-2006 at 02:38 PM
RE: RE: [REQUEST] Remember Status - by The Alpha Gamer on 11-10-2007 at 03:40 AM
RE: [REQUEST] Remember Status - by Chestah on 06-26-2006 at 09:15 PM
RE: [REQUEST] Remember Status - by lizard.boy on 06-26-2006 at 10:23 PM
RE: [REQUEST] Remember Status - by waynewilson2 on 11-10-2007 at 05:08 AM
RE: [REQUEST] Remember Status - by Matti on 11-10-2007 at 10:47 AM
RE: [REQUEST] Remember Status - by Menthix on 11-10-2007 at 05:04 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