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:
Arobas
New Member
*


Posts: 7
Joined: Aug 2003
O.P. [suggestion] DP/CE saved automatically
I'd like to save DP/CE* during conversations automatically in a directory. I know it's possible, i got a program that had this feature but it doesn't work with WLM anymore.

There is already a script that can steal a DP but i don't see any utility.

Thank!

*DP = Display picture
*CE = Custom emoticons

This post was edited on 06-25-2006 at 06:29 PM by Arobas.
06-25-2006 06:18 PM
Profile E-Mail PM Find Quote Report
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
Arobas
New Member
*


Posts: 7
Joined: Aug 2003
O.P. RE: [suggestion] DP/CE saved automatically
but you have to get a conversation with this person to get his DP and CE. thank anyway for this piece of code.. i'll test it :) If anyone have another solution.. i'll take it too!
06-25-2006 06:52 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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