What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need help - Bold characters in toast

Need help - Bold characters in toast
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Need help - Bold characters in toast
As deAd said, you have to use the DisplayToastContact rather than just DisplayToast like in the code below.  DisplayToastContact goes in the following order -  title,unformatted line,formatted line, sound,......

In DisplayToast it is missing the unformatted line so you won't be able to bold it.  An example of it in use is below, it is for blocking a contact an having their emil be bolded in a toast when you do :P
code:
function OnEvent_ContactBlocked(Email)
{
var Message = "<b>" + Email + "</b>"
  MsgPlus.DisplayToastContact("",Message,"",'notify.mp3')
}


NB. I wrote the bold in HTML rather than BBcode because I don't know how to turn this off :P

This post was edited on 07-05-2006 at 02:20 PM by markee.
[Image: markee.png]
07-05-2006 02:15 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need help - Bold characters in toast - by J3ck on 07-05-2006 at 01:15 PM
RE: Need help - Bold characters in toast - by markee on 07-05-2006 at 01:21 PM
RE: Need help - Bold characters in toast - by deAd on 07-05-2006 at 01:33 PM
RE: Need help - Bold characters in toast - by J3ck on 07-05-2006 at 01:37 PM
RE: Need help - Bold characters in toast - by deAd on 07-05-2006 at 01:39 PM
RE: Need help - Bold characters in toast - by J3ck on 07-05-2006 at 01:43 PM
RE: Need help - Bold characters in toast - by deAd on 07-05-2006 at 01:58 PM
RE: Need help - Bold characters in toast - by markee on 07-05-2006 at 02:15 PM
RE: Need help - Bold characters in toast - by J3ck on 07-05-2006 at 02:25 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