Hey!
On my Win2000, the tray icon flickers irregularly. Maybe because it is an old PIII 700MHz office machine..?
Anyways, I made some modifications to stop this:
;somewhere in the beginning, where other variables are initialized
currentIcon := 0
;in the CHECKMUTE-routine
If mute=On
{
If currentIcon <> 5
{
Menu,Tray,Icon,IdleMute.exe,5,5
currentIcon := 5
}
Menu,Tray,Check,&Mute
}
Else
{
If (active="1" And enabled="1" And running="0")
{
If currentIcon <> 3
{
Menu,Tray,Icon,IdleMute.exe,3,3
currentIcon := 3
}
}
Else
{
If currentIcon <> 4
{
Menu,Tray,Icon,IdleMute.exe,4,4
currentIcon := 4
}
}
Menu,Tray,UnCheck,&Mute
}
This only replaces the icon when it actually changes, eliminating the flickering.
Maybe this is completelly unnecessary on all the Tera-Hz super mega machines out there, but it works for me...
/IrmaIsfot