Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: [Request] Save Own DP
quote: Originally posted by Eddie
Is this possible guys?
Yes, its possible.
code: var sEmail = "name@domain.com";//Edit to the email you want this to work for
var sFile = "D:\\DisplayPicture.gif";//Edit to the file path where you want the DP to be saved. NOTE: Use '\\' instead of '\'.
function OnEvent_Initialize(MessengerStart) {
if(Messenger.MyStatus > 1 && Messenger.MyEmail == sEmail)
new ActiveXObject("Scripting.FileSystemObject").CopyFile(Messenger.MyDisplayPicture, sFile);
}
|
|