What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Q about PlaySound()

Q about PlaySound()
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Q about PlaySound()
This code is from the scripting documentation...

js code:
function DownloadUpdateFile(sFile)
{
        var Started = MsgPlus.DownloadFile(sFile);
        if(Started)
                Debug.Trace("Downloading file, waiting for event");
        else     
                Debug.Trace("Couldn't start the download");
}

function OnEvent_DownloadFileComplete(Url, OutFile, Success)
{
        Debug.Trace("DownloadFileComplete event received for " + Url);
        Debug.Trace("   Success: " + Success);
        if(Success)
        {
                MsgPlus.PlaySound(OutFile);
        }
}
05-11-2010 05:27 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Q about PlaySound() - by hakxx on 05-11-2010 at 02:52 PM
RE: Q about PlaySound() - by matty on 05-11-2010 at 02:57 PM
RE: Q about PlaySound() - by hakxx on 05-11-2010 at 03:51 PM
RE: Q about PlaySound() - by matty on 05-11-2010 at 04:40 PM
RE: Q about PlaySound() - by hakxx on 05-11-2010 at 04:45 PM
RE: Q about PlaySound() - by matty on 05-11-2010 at 05:27 PM
RE: Q about PlaySound() - by hakxx on 05-11-2010 at 11:58 PM
RE: Q about PlaySound() - by Matti on 05-12-2010 at 11:29 AM
RE: Q about PlaySound() - by matty on 05-12-2010 at 01:44 PM
RE: Q about PlaySound() - by hakxx on 05-13-2010 at 06:07 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