What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Display Picture Saver

Display Picture Saver
Author: Message:
ben_b
Junior Member
**

Avatar

Posts: 33
– / Male / –
Joined: Jul 2003
RE: Display Picture Saver
In the event log section of your script you should add a space before the ( so that in the event log it matches the spacing of the other events logged. So the end code would look like this:

code:
function autoSaveAll()
{
    if(autoGetTime == 0) {return;}
//    Debug.Trace("Auto saving...");
    regSet("DPAutoGet", 1, "REG_DWORD");
    var contacts = Messenger.MyContacts;
    var count = 0;
    var e = new Enumerator(contacts);
    for (; !e.atEnd(); e.moveNext())
    {
        var cont = e.item();
//        Debug.Trace("AS: checking " + cont.Email + " for DP updates...");

        if(regExists(cont.Email + "\\LastDP"))
        {
            if(cont.DisplayPicture != regGet(cont.Email + "\\LastDP"))
            {
//                Debug.Trace("AS: Saving updated DP from: " + cont.Email);
                if(saveDP(cont))
                {
                    count++;
                    if(addEvent)
                    {
                        MsgPlus.LogEvent(cont.Name + " (" + cont.Email + ")",
                                "Display Picture Changed (Saved)", 8);
                    }
                }
                else if(addEvent)
                {
                    MsgPlus.LogEvent(cont.Name + " (" + cont.Email +")",
                                "Display Picture Removed", 8);
                }
            }
        }
        else
        {
            if(saveDP(cont))
            {
                count++;
            }
        }
    }
   
    if(count > 0)
    {
        MsgPlus.DisplayToast("DPGet - AutoGet",
                            "DPGet has automatically saved " + count
                                + " updated Display Pictures");
    }
    MsgPlus.AddTimer("DPAutoGet", autoGetTime);
}

Also right now in the Recorded Events.xml file the first line of the event reads () but I believe this is a bug with Messenger Plus! Live because it is designed to show the name and email address there but with the MsgPlus.DisplayToast function those are not specified. I have already contacted Patchou about this issue and I'm awaiting a reply.
07-16-2006 04:25 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Display Picture Saver - by The Brain on 06-26-2006 at 04:37 PM
RE: Display Picture Saver - by Voldemort on 06-26-2006 at 04:39 PM
RE: Display Picture Saver - by deAd on 06-26-2006 at 04:46 PM
RE: RE: Display Picture Saver - by The Brain on 06-26-2006 at 05:03 PM
RE: Display Picture Saver - by Michi on 06-26-2006 at 10:59 PM
RE: Display Picture Saver - by The Brain on 07-06-2006 at 05:33 AM
RE: Display Picture Saver - by BunnY_ on 07-06-2006 at 11:34 AM
RE: Display Picture Saver - by andrey on 07-15-2006 at 07:52 AM
RE: Display Picture Saver - by ben_b on 07-15-2006 at 08:47 AM
RE: Display Picture Saver - by ben_b on 07-16-2006 at 04:25 AM
RE: Display Picture Saver - by The Brain on 07-16-2006 at 02:08 PM
RE: Display Picture Saver - by tkh7819 on 07-18-2006 at 08:34 AM
RE: RE: Display Picture Saver - by ben_b on 07-18-2006 at 09:31 AM
RE: RE: RE: Display Picture Saver - by tkh7819 on 07-19-2006 at 02:52 AM
RE: Display Picture Saver - by just_a_name on 08-04-2006 at 09:12 AM
RE: RE: Display Picture Saver - by ben_b on 08-04-2006 at 02:28 PM
RE: RE: RE: Display Picture Saver - by just_a_name on 08-04-2006 at 06:40 PM
RE: Display Picture Saver - by The Brain on 08-26-2006 at 09:56 AM
RE: Display Picture Saver - by Elron on 08-28-2006 at 10:36 PM
RE: Display Picture Saver - by boston on 08-29-2006 at 08:12 PM
RE: Display Picture Saver - by The Brain on 08-30-2006 at 12:39 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