What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Save Own DP

[Request] Save Own DP
Author: Message:
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. [Request] Save Own DP
Hey scripters :P i am wanting a Script so you can save your own Display Picture in a chosen file, simply because anything i put in my display picture i drag and drop into files and i just forget where i got them from, so is this possible? :)

EDIT
: Going to bed so won't see till tomorrow sometime sorry. :)

This post was edited on 03-12-2007 at 02:08 PM by Eddie.
...there used to be a signature here :)
03-12-2007 02:07 PM
Profile PM Web Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: [Request] Save Own DP
Is this possible guys? :(
...there used to be a signature here :)
03-13-2007 04:18 AM
Profile PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
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);
}
03-13-2007 04:49 AM
Profile E-Mail PM Web Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: [Request] Save Own DP
Cheers felu, is it possible to be able to save it with a name i choose ? :) (without having to edit the script)
...there used to be a signature here :)
03-13-2007 08:12 AM
Profile PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request] Save Own DP
quote:
Originally posted by Eddie
is it possible to be able to save it with a name i choose ?
Yes it would be possible, but we'll need to create windows for that. Sorry, but I'm not intrested to do that atm. I can do it on saturday if you want :).
03-13-2007 08:15 AM
Profile E-Mail PM Web Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
RE: [Request] Save Own DP
You can do that with this code on mpscripts.net.

Just change ShowOpen to ShowSave and edit the filter.

Now you can call the function BrowseForFile and put it in the sFile variable.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-13-2007 09:57 AM
Profile E-Mail PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request] Save Own DP
quote:
Originally posted by the DtTvB
You can do that with this code on mpscripts.net.

Just change ShowOpen to ShowSave and edit the filter.

Now you can call the function BrowseForFile and put it in the sFile variable.
I know, i only posted that code at mpscript.net :P. But it won't work in Vista. So, you should use GetOpenFileName instead. Here is an example of how to.

I'm not intrested to make this script as i have my exams going on, this is just a tip for anyone who might want to make such a script
03-14-2007 07:49 AM
Profile E-Mail PM Web Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: [Request] Save Own DP
Ok thanks anyway Felu :)
...there used to be a signature here :)
03-14-2007 08:35 AM
Profile PM Web 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