SmokingCookie
Senior Member
Posts: 815 Reputation: 15
30 / /
Joined: Jul 2007
|
RE: timed auto sign in
Ahem..
JScript code: var Delay = 10000; // Ten secs. Alter as necessary
function OnEvent_Initialize(msg) {
MsgPlus.AddTimer("TmrSignin",Delay);
}
// optional: cancel timer upon signin (if not cancelled yet)
function OnEvent_SigninReady(Email) {
MsgPlus.CancelTimer("TmrSignin");
}
function OnEvent_Signout(Email) {
MsgPlus.AddTimer("TmrSignin",Delay);
}
function OnEvent_Timer(id) {
switch(id) {
case "TmrSignin":
Messenger.AutoSignin();
return -1;
}
}
Guess this should work?
|
|