Shoutbox

Help With Script. - 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: Help With Script. (/showthread.php?tid=76652)

Help With Script. by Ashylay on 08-09-2007 at 05:03 PM

Okay I need a bit of help with some scripts.

1) Is there a script that says if I recieve an email of a certain email display a toast?

2) Can I link that toast to a certain website

3) If its possible could i delete that email i just recieved

Could you please help me with what you can.

So say if I recieve an email of "person@google.com" a toast will display saying I have an email of that person and then if I click that toast it will send me to google.com and delete the email I recieved.

(The deleting the email isnt thatimportant but would help)


RE: Help With Script. by matty on 08-09-2007 at 05:06 PM

1) Plus! will tell you the new email account total upon receiving a message it isn't possible to capture exactly when you receive an email unless it was checking every millisecond (too much strain on the server).

2) You can link toasts to anything. (example in a minute)

code:
MsgPlus.DisplayToast('hi', 'hi', '', 'ToastCallback', 'debug');

function ToastCallback(Param) {
    if (Param === 'debug') {
        Debug.Trace('you clicked the toast, and i am a debugger');
    }
}

3) Read point 1.
RE: Help With Script. by Ashylay on 08-09-2007 at 07:05 PM

What if you was to check every x amount of minutes?

Like 10, 15 or even ever 30 minutes


RE: Help With Script. by GNSPS on 08-10-2007 at 12:24 AM

It's possible to make tha script you're talking about and if you're talking about an email account on gmail it would be possible opening a browser window and setting the address so that it will send in the POST or GET data the action to delete the newly received email...