RE: include display pictures in toasts?
What you are trying todo is very very hard and in the end will possibly not work 100% properly anyways.
For starters no script and not even Plus! will be able to use those toasts (which is what the request is about). The only thing which will be able to use those toasts is that script itself.
Importing the extra event toast settings from Plus! will still not let this script work properly. There are many cases which you need to take into consideration too. Not to mention it is not that easy to simulate the extra custom Plus! notifications in a proper way. Also you need to take into consideration the cases where Plus! will not show toasts at all (the advanced reg settings, messenger locked, etc, etc) or the cases where it will show a contact toast which is not defined in the custom events, or the cases where Plus! recieves a broadcasted message from a plugin to show a toast, etc...
I'm not saying this is impossible, but I'm saying that if you wanna make something properly, you would end up with a extremely very very complex script and it probably still wouldn't cover all things.
it involves from the top of my head (among many other things):
- properly simulating reading the language resources of Plus!
- properly simulating playing sounds just as Plus! does (thus also taking in account all the (advanced) registry settings involving sound devices).
- taking in account all the custom event notification settings, inlcuding what todo with what contact and/or new contacts which aren't added yet.
- catching registry changes for Plus! settings like "dont show toasts when busy", "don't play sounds when media is set", "show toats for contacts that are blocked", etc, etc....
- catching custom event notification changes
- catching advanced registry changes for Plus! settings
- catching messenger locks/unlocks
- etc etc etc
Again, it isn't impossible (although it would involve some dodgy ways of coding for certain things, eg: polling), but it is way far more complex than it appears at first sight.
It might be nice to make something like this in that way as a coding practice and/or as a "proof of concept", but it will not work 100% like it should.
This post was edited on 11-28-2006 at 03:19 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|