quote:
Originally posted by matty
Not sure why but I noticed the icon changing back to the WLM default one for some reason. If anyone else notices this let me know.
This is normal behaviour for WLM 14.x (this wont happen in 8.5). The windows are repainted from time to time and if certain events occur.
Also, but it has been a long time since I worked on that script, in certain situation WLM isn't done painting yet before the script finishes (like with chatwndcreate). So the icon put there by the script simply gets replaced by the default one.
I experienced all that before with the original
StatusIcon script
(you've reinvented the wheel... but it is rounder now ). I 'solved' it by using a timer which updates the window icon from time to time. And a non-repeating timer to wait a bit before putting the icon again when the window is created.