Shoutbox

Toast event - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Toast event (/showthread.php?tid=61259)

Toast event by Owl on 06-25-2006 at 12:06 PM

Is there any event which gets fired when a toast pops up? I had a look through the reference, but I couldn't see anything.


RE: Toast event by mathieumg on 06-25-2006 at 12:25 PM

Gets called

OnEvent_ToastWasDisplayed(
[contact] Contact
);

for example


RE: Toast event by segosa on 06-25-2006 at 01:38 PM

A parameter to DisplayToast is the function to be called when it's clicked...


RE: Toast event by mathieumg on 06-25-2006 at 01:42 PM

I think he meant a Toast fired by Messenger itself (contact sign-in for example), not Plus! Toasts.


RE: Toast event by Owl on 06-25-2006 at 04:41 PM

Yup, spot on, mathieumg, I was thinking particularly of the incoming call toasts of which I've seen screenshots - one of the existing scripts gave me the idea that it would be neat if you could accept or decline those verbally.

Was that a real event you gave, or just an example of the sort of thing? *Tests*

Owl


RE: Toast event by mathieumg on 06-25-2006 at 05:00 PM

An example of the sort of thing :p


RE: Toast event by Owl on 06-25-2006 at 05:05 PM

Yup, so I guessed, after a few toasts failed to trigger my debug.trace ;-)

Don't suppose there is any real feature to do that, then?


RE: Toast event by mathieumg on 06-25-2006 at 05:06 PM

Not yet :( ;)