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

script command
Author: Message:
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: script command
quote:
Originally posted by lanky3
a last small thing, how to put a sound with toast?
Did you read the Scripting Documentation? Its all given there [Image: msn_happy.gif].

Anyways here's it [Image: msn_wink.gif].
quote:
Originally posted by Scripting Documentation

<pre>[boolean] DisplayToast(
    [string] Title,
    [string] Message,
    [string,optional] SoundFile,
    [string,optional] Callback,
    [var,optional] CallbackParam

Title
[string] Title displayed on top of the toast. If an empty string is sent in this parameter, "Messenger Plus! Live" is used.
Message
[string] Message displayed in the toast. Carriage returns can be used to force line breaks. A maximum of 4 lines can be displayed in the toast created by this function. Format codes are not parsed in this parameter and must be filtered out with RemoveFormatCodes.
SoundFile
[string,optional] Path to the sound file that will be played when the toast is shown on screen. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\sound.mp3". If the parameter is missing or the string is empty, no sound is played.
Callback
[string,optional] Name of the function in your script that will be called if the toast is clicked by the user. If the parameter is missing or the string is empty, the toast won't be clickable. For more information, see ToastCallbackTemplate.
CallbackParam
[var,optional] Parameter of variable type (can be a number, a string, an object, ...). This value will be sent as parameter of the function specified in Callback when the toast is clicked. It can be omitted if not needed.


This post was edited on 08-18-2006 at 04:16 PM by Felu.
08-18-2006 04:15 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
script command - by lanky3 on 08-16-2006 at 10:40 AM
RE: script command - by Felu on 08-16-2006 at 12:17 PM
RE: script command - by lanky3 on 08-16-2006 at 12:41 PM
RE: script command - by lanky3 on 08-16-2006 at 07:26 PM
RE: script command - by matty on 08-16-2006 at 08:21 PM
RE: script command - by lanky3 on 08-16-2006 at 08:54 PM
RE: script command - by lanky3 on 08-18-2006 at 04:07 PM
RE: script command - by Felu on 08-18-2006 at 04:15 PM
RE: script command - by lanky3 on 08-18-2006 at 04:54 PM
RE: script command - by KnRd_WC on 08-18-2006 at 05:54 PM
RE: script command - by lanky3 on 08-18-2006 at 07:06 PM
RE: script command - by lanky3 on 08-18-2006 at 07:09 PM
RE: script command - by KnRd_WC on 08-18-2006 at 07:29 PM
RE: script command - by lanky3 on 08-20-2006 at 10:38 AM
RE: RE: script command - by mickael9 on 08-20-2006 at 11:19 AM
RE: script command - by lanky3 on 08-20-2006 at 11:29 AM


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