[RELEASE] ToastNotifier - 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: [RELEASE] ToastNotifier (/showthread.php?tid=69297)
[RELEASE] ToastNotifier by Sypher on 12-09-2006 at 03:03 PM
Hey,
This is my first attempt at scripting for MP!L but i think the result is quite nice.
What is ToastNotifier?
With ToastNotifier you can send your contacts toastmessages and toastlinks.
A toastmessage is a message that appears in a toast. Please note that toasts have a limited space so it might be only a way to get attention.
You can also send ToastLinks. Toastlinks are links that appear in a toast, and will be opened in your default browser when you click on it.
In order to protect you against malicious urls, i put in a protection that checks if the URL is valid (e.g. consists of http://, https:// or ftp:// etc)
How does this work?
To send a toastmessage type the following:
/tmsg your message
To send a toastlink type the following
/tlink http://www.google.nl This is a cool link
You are not required to set a title, it will return "undefined" (for now) but still works.
Screenshot
Nothing you haven't seen before. It's "just" a toast
Some extra features:
- Shows the name of the one sending it to you
- Notifies the sender if the url is invalid
- Shows the URL in the toast, in order to protect you against fanatical clicking.
Let me know what you think of it, i might improve it some more.
Coming soon..
I'm also working on something completely different and very handy if i may say so.. It's a script that reduces the WLM memory usage. I've tested it and it went down from 40MB to 1MB!. I'm working on improving it and of course testing it. The problem is that WLM inflates very fast so it is just something that works for the moment.
RE: [RELEASE] ToastNotifier by Eddie on 12-09-2006 at 03:20 PM
Cool, but i prefer the sound of the Coming Soon item any ETA's?
RE: [RELEASE] ToastNotifier by ins4ne on 12-09-2006 at 03:22 PM
quote: Originally posted by Sypher
The problem is that WLM inflates very fast so it is just something that works for the moment.
Explain that a bit more. I know the memory usage increases when convos are opened and stuff. But if I use that script it reduces the memory to 1MB. And then? What does that 'it is just something that works for the moment' mean?
RE: [RELEASE] ToastNotifier by Sypher on 12-09-2006 at 03:47 PM
ETA? Maybe tomorrow, who knows.. It works but i was working on a settings window, but i might postpone that to 1.1
What my script does is running a timer and executing an app i've made.. This app instructs the process to drop some of its pages, lots of technical mumble jumble.. The problem is that WLM re-inflates these pages very often, so setting the timer to a lower amount gives a lower and more steady memory usage.
I use this code in all the applications (.exe files that is) i create, as it saves me a damn lot memory!
Currently the timer is set to 1 minute, thats why i wanted a settings window to change this.
I just tested this same code on Firefox, and it went from 122MB to 20, after a while it went up to 70, but it's still less then it was.
RE: [RELEASE] ToastNotifier by elektra on 12-10-2006 at 11:42 AM
quote: Originally posted by Sypher
ETA? Maybe tomorrow, who knows.. It works but i was working on a settings window, but i might postpone that to 1.1
What my script does is running a timer and executing an app i've made.. This app instructs the process to drop some of its pages, lots of technical mumble jumble.. The problem is that WLM re-inflates these pages very often, so setting the timer to a lower amount gives a lower and more steady memory usage.
I use this code in all the applications (.exe files that is) i create, as it saves me a damn lot memory!
Currently the timer is set to 1 minute, thats why i wanted a settings window to change this.
I just tested this same code on Firefox, and it went from 122MB to 20, after a while it went up to 70, but it's still less then it was.
Cant wait for that script, or exe what ever it is i will get it sounds a good script for me
The toast notifier script is working fine atm
RE: [RELEASE] ToastNotifier by Baggins on 12-10-2006 at 03:51 PM
does the contact need to have the script?
RE: [RELEASE] ToastNotifier by Sypher on 12-10-2006 at 04:23 PM
Yeah, there is no other way sadly
|