What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [suggestion] DP/CE saved automatically

[suggestion] DP/CE saved automatically
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [suggestion] DP/Emoticons saver
code:
function OnEvent_ChatWndCreated(Wnd){
    for(var enumerator = new Enumerator(Wnd.Contacts) ; !enumerator.atEnd(); enumerator.moveNext()) {
        var Contact = enumerator.item();
        var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()

        Interop.Call('kernel32', 'CopyFileW', Contact.DisplayPicture, "c:\\display pictures\\"+Contact.Email+'_'+month + "." + day + "." + year+".png", false);
    }
}

If you have Chatlogging turned on and your using the X/HTML logs if you look in the My Chat Logs\Month\Images all the images will be there. Note they will be saved in PNG format so they will not be animated.

This post was edited on 06-25-2006 at 06:35 PM by matty.
06-25-2006 06:31 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[suggestion] DP/CE saved automatically - by Arobas on 06-25-2006 at 06:18 PM
RE: [suggestion] DP/Emoticons saver - by matty on 06-25-2006 at 06:31 PM
RE: [suggestion] DP/CE saved automatically - by Arobas on 06-25-2006 at 06:52 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