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.