What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Download file

Download file
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. Download file
Hi.

I'm trying to make a script, which display an image in a window. I have searched on the forum and it seems that the only way to do this is to download the file using MsgPlus.DownloadFile and OnEvent_DownloadFileComplete, but I can't figure out how to use those functions.

This is my script:
code:
DownloadComic = "http://www.explosm.net/db/files/Comics/Matt/ive-got-some-homemade-stuff-for-that-wound-of-yours-too.png";

function OnEvent_Initialize(MessengerStart)
{
    MsgPlus.DownloadFile(DownloadComic);

    ComicWnd = MsgPlus.CreateWnd("comic.xml", "TodaysComic");
}

function OnEvent_DownloadFileComplete(DownloadComic, OutFile, Success)
{
    if(Succes)
    {
        MsgPlus.DisplayToast("Todays Comic", "Succes!");
    }
    else
    {
        MsgPlus.DisplayToast("Todays Comic", "Sorry, it didn't work.");
    }
}

Anyone who can help me download the file, please?

Thanks in advance

This post was edited on 10-31-2007 at 06:56 PM by SnuZZer.
10-31-2007 06:54 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Download file - by SnuZZer on 10-31-2007 at 06:54 PM
RE: Download file - by Dempsey on 10-31-2007 at 06:57 PM
RE: Download file - by SnuZZer on 10-31-2007 at 07:01 PM
RE: Download file - by markee on 10-31-2007 at 11:04 PM
RE: Download file - by SnuZZer on 11-01-2007 at 05:46 AM
RE: Download file - by Matti on 11-01-2007 at 08:38 AM
RE: Download file - by SnuZZer on 11-01-2007 at 01:36 PM


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