quote:
Originally posted by CookieRevised
quote:
Originally posted by Ezra
Why use a txt file, and not just the registry?
Why storing it at all?
---
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! 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/
When i try to download that, i get a 404 page not found error, re-up please?