What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Lock messenger not at sign-in but when started

[Request] Lock messenger not at sign-in but when started
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Request] Lock messenger not at sign-in but when started
quote:
Originally posted by cooldude_i06
quote:
Originally posted by markee
I don't think this can be done.  Although script are global (all of them can be seen no matter which windows account or live id you are using) they're setting (on/off) is customisable and therefore will not be able to start until you sign-in.  This is also the same with changing preferences of MP!L.

No, scripts start when messenger starts, not when you sign in. That's why there's a Signin event and a Initialize Event, and is also the prime reason why some scripts mess up because they try to use the Messenger.MyEmail property under the Initialize Event.

Sorry if this is not what you were taking about.
Ok thanks for clearing that up for me.  I wrote this script for you that atm will automatically lock messenger after a minuteif you aren't signed in withing that time, or are already signed in before the script starts.  At least it was half of what you were after.

code:
var lock = "lock";
function OnEvent_Initialize(MessengerStart)
{
  MsgPlus.AddTimer("Start",60000)//change to length to wait until lock (in milliseconds)
}
function OnEvent_Signin(Email)
{
  lock = ""
}
function OnEvent_Timer(TimerId)
{
  if (TimerId == "Start")
  {
    if (lock == "lock")
    {
      MsgPlus.LockMessenger(true);
    }
  }
}
[Image: markee.png]
08-03-2006 06:26 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Lock messenger not at sign-in but when started - by Zayl on 08-02-2006 at 11:02 PM
RE: [Request] Lock messenger not at sign-in but when started - by markee on 08-03-2006 at 05:56 AM
RE: [Request] Lock messenger not at sign-in but when started - by cooldude_i06 on 08-03-2006 at 06:03 AM
RE: [Request] Lock messenger not at sign-in but when started - by markee on 08-03-2006 at 06:26 AM


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