Shoutbox

Adding Event Notifications - 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: Adding Event Notifications (/showthread.php?tid=68652)

Adding Event Notifications by joel.l on 11-19-2006 at 06:22 PM

Hi there,

Is it possible to add event notifications from scripts?


I do not want to create a whole new notification system, but merely plug into the existing one to add event triggers programmatically.

Any help is much appreciated.


Thanks in advance,
--
Joel L.


So is there no way to do it? Or did I ask some secret _bad_ question and will be ignored from now on?


--
Joel L.
RE: Adding Event Notifications by Spunky on 11-20-2006 at 03:50 PM

quote:
Originally posted by joel.l
So is there no way to do it? Or did I ask some secret _bad_ question and will be ignored from now on?
--
Joel L.

Maybe people didn't know if it was possible and so didn't want to reply or maybe you just needed to wait a bit longer?

If you mean event notification such as OnEvent_ChatWndSendMessage() and so on, I don't think it's possible as WLM and MP!L wouldn't send you the "trigger", it would need to be constantly monitored by you for change (which is the whole "New notification system" you wanted to avoid)

RE: Adding Event Notifications by EBFL on 11-20-2006 at 03:53 PM

quote:
Originally posted by joel.l
So is there no way to do it? Or did I ask some secret _bad_ question and will be ignored from now on?


--
Joel L.
Someone would have answered you but you do have to wait.
Also, Please dont double Post :)
RE: Adding Event Notifications by joel.l on 11-20-2006 at 04:02 PM

(Sorry for the double... It simply seemed all other posts got a gazillion replies while mine stood alone in the corner.)

So, as SpunkyLoveMuff confirmed, there is nothing in the scripting API to allow adding event notifications.

But is it perhaps possible to automatically "click around" on behalf of the user in the Event Notification Wizard (that could be called via the  /notif command from a script)?

Just a thought.


--
Joel L.


To clarify, by "adding an event notification" I mean adding an event a la "Show an alert that expires after the first occurrence when user John@John.com signs in" to the built-in notification system
RE: Adding Event Notifications by markee on 11-20-2006 at 04:09 PM

I was actually looking this up.  The problem with trying to have events called from as far as i can see it cannot be done because I can't find a way of having WScript as an object (the special one in the documentation, i realise anything can be made into an object).  Though I have been known to be wrong, I personally can't see how this could be done, sorry.