What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Auto Update Contact DP's

[Request] Auto Update Contact DP's
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Request] Auto Update Contact DP's
quote:
Originally posted by KnRd_WC
Hi again artfuldodga [Image: msn_wink.gif][Image: msn_wink.gif]

Maybe I found a way to update the DP automatically... (I am almost sure [Image: msn_grin.gif])

code:
var x = new ActiveXObject("Scripting.FileSystemObject")
var Contacts = Messenger.MyContacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext()) {
    var Contact = e.item();
    Pic=Contact.DisplayPicture
    if (Pic) {
        x.DeleteFile(Pic,true));
    }
}

In fact, this script delete the DP cache. And, If a contact change his DP AFTER deleting the cache, the DP is updated. Here's the problem, because this script works only if a contact change his DP after unsin this function... [Image: msn_confused.gif]

But I'm sure that somebody will find a solution... (Timer...)
This won't work, all you are doing is deleting the picture files from the cache, you still need the connection to be able to get the new DP no matter what.  This can be done by opening a chat window (either you or your contact) or opening your contact's contact card (there might be others but I'm not aware of them).  The only way to be able to do this that I can think of is with a bit of an annoying script that opens conversations with everyone after a specified amount of time, then closes them about a second later (to make sure you got a connection with all your contacts).  The annoying part of this however is that you will have a whole lot of chat windows open up every so often and it will really slow your computer down while it opens and closes them all (I really don't recomend this).

This post was edited on 08-25-2006 at 03:49 PM by markee.
[Image: markee.png]
08-25-2006 03:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Auto Update Contact DP's - by artfuldodga on 08-22-2006 at 09:09 PM
RE: [Request] Auto Update Contact DP - by CapriSkye on 08-23-2006 at 04:12 AM
RE: [Request] Auto Update Contact DP's - by artfuldodga on 08-25-2006 at 01:05 PM
RE: [Request] Auto Update Contact DP's - by RaceProUK on 08-25-2006 at 02:30 PM
RE: [Request] Auto Update Contact DP's - by artfuldodga on 08-25-2006 at 03:20 PM
RE: [Request] Auto Update Contact DP's - by KnRd_WC on 08-25-2006 at 03:37 PM
RE: [Request] Auto Update Contact DP's - by markee on 08-25-2006 at 03:48 PM
RE: [Request] Auto Update Contact DP's - by KnRd_WC on 08-25-2006 at 04:21 PM
RE: [Request] Auto Update Contact DP's - by artfuldodga on 08-25-2006 at 05:29 PM
RE: [Request] Auto Update Contact DP's - by RaceProUK on 08-26-2006 at 09:21 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