What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [split] show error toast instead of in debug window

[split] show error toast instead of in debug window
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: [split] show error toast instead of in debug window
It might also work as expected if you specify the Debugger object as follows:

JScript code:
var Debugger = {
    "Start":    new Date,
    "Data":    new Array(),
    [...]
}


Note that you must separate each member with a comma, except for the last member:

JScript code:
var MyObject = {
    "SomeProperty":    "Hello world!", // used a comma here; if you omit it, a syntax error will be raised on this line
    "SomeMethod":    function(s) {
        Messenger.DisplayToast("",s); //this sign is within the function itself, so it'll work
    } // not used one here
      // if you put a semicolon (;) here, a syntax error will be raised


This post was edited on 06-11-2010 at 04:37 PM by SmokingCookie.
06-11-2010 04:35 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
RE: [Release] Fake media 1.60 - by whiz on 06-09-2010 at 04:29 PM
RE: [split] show error toast instead of in debug window - by SmokingCookie on 06-11-2010 at 04:35 PM
RE: [split] show error toast instead of in debug window - by whiz on 06-11-2010 at 07:19 PM
RE: [split] show error toast instead of in debug window - by Matti on 06-12-2010 at 07:25 AM
RE: [split] show error toast instead of in debug window - by whiz on 06-12-2010 at 11:30 AM
RE: [split] show error toast instead of in debug window - by SmokingCookie on 06-12-2010 at 05:14 PM
RE: [split] show error toast instead of in debug window - by whiz on 06-13-2010 at 10:14 AM
RE: [split] show error toast instead of in debug window - by SmokingCookie on 06-13-2010 at 10:28 AM
RE: [split] show error toast instead of in debug window - by whiz on 06-13-2010 at 01:12 PM
RE: [Release] Fake media 1.60 - by SmokingCookie on 06-09-2010 at 04:41 PM
RE: [Release] Fake media 1.60 - by whiz on 06-09-2010 at 05:20 PM
RE: [Release] Fake media 1.60 - by SmokingCookie on 06-09-2010 at 05:27 PM
RE: [Release] Fake media 1.60 - by CookieRevised on 06-10-2010 at 11:26 AM
RE: [Release] Fake media 1.60 - by whiz on 06-10-2010 at 11:30 AM
RE: [Release] Fake media 1.60 - by Matti on 06-10-2010 at 12:47 PM
RE: [Release] Fake media 1.60 - by whiz on 06-10-2010 at 06:36 PM
RE: [Release] Fake media 1.60 - by SmokingCookie on 06-10-2010 at 06:41 PM
RE: [Release] Fake media 1.60 - by whiz on 06-10-2010 at 06:58 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