quote:
Originally posted by CookieRevised
quote:
Originally posted by deAd
Actually yes it can. The script would have to keep track of all the notifications that Plus! would toast on, and when those events happen would find the toast window's handle and rearrange some controls. Then it'd need to use the API to add in an image.
All in all it comes down to being possible, but extremely complex for something so trivial.
No rearranging needs to be done if you simply alter the interface.xml for Plus! toasts to include a picture control.
All the script now needs to do is polling for toasts (which is required for something like this, but is a bad way; so I wouldn't even recommend using such a script at all) and if it is a contact toast and it is used as a contact toast (note: not all scripts use contact toast to diplay contact information!) pull the DP and put it in the picture control of that window which makes up the toast.
But as I said in that other thread about Plus! toast, whatever you do to manipulate the toasts, it _will_ brake the view which certain (if not all) scripts depend on (eg: think about word wrapping).
I realise that by changing the xml and sending extra information to it is an option but for something like this wouldn't it be better to make the feature from scratch through a script (even though Plus! has this feature) as it will not interfere with other scripts like you said. I was planning on just creating the script from scratch and just import the already made toast alerts from Plus! from the registry and assign "EnableMsgPlusToasts" in the registry to 0 so it disables the Plus! toasts (I might just delete the already loaded toast alerts so that it doesn't conflict with other scripts and not allow their toasts). I was also thinking of using the same interface as Plus! so it is easy for everyone to use.