Shoutbox

MyDisplayPicture and URL - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: MyDisplayPicture and URL (/showthread.php?tid=83746)

MyDisplayPicture and URL by Senki on 05-16-2008 at 12:54 PM

Hi !

I've created this webpage (http://secretofdestiny.free.fr/avatars/) which allow everyone to change my picture. It works on PHPBB, but I'd like to create a script for Msg+ to get this picture.

The picture is stored as http://secretofdestiny.free.fr/avatars/pic/avatar.jpg. But when I use MyDisplayPicture, this doesn't work, because it's a URL, it's not on my computer.

My question is : is there another function which works whith URL ? Is there a function to download this picture on my computer ?

PS : excuse my english, I'm french ;)


RE: MyDisplayPicture and URL by mynetx on 05-16-2008 at 01:21 PM

Hello Senki,

please consider reading the Official Scripting Documentation next time, before asking :)

However, you will have to download the file on a regular basis from its web location, using a timer. Here are the references for the  functions you will need:

Then set the image with Messenger.MyDisplayPicture = strTheTemporaryDownloadFile;

Regards,
RE: MyDisplayPicture and URL by vaccination on 05-16-2008 at 04:02 PM

DPFromUrl does exactly what you want.


RE: MyDisplayPicture and URL by Senki on 05-16-2008 at 08:46 PM

Wow thanks a lot :D


RE: MyDisplayPicture and URL by snakehack on 05-18-2008 at 08:10 AM

no entiendo eso
acaso da el url de la imagen