Is there any way to programmatically refresh the notification area to
remove/update the icons in it?
Thanks for any info.
However, most programs that use system-tray icons, when exiting, clean their tray
icons also.
So instead of terminating the program from the command-line (batch-file) using, I
assume, taskkill.exe (or similar), why not look through the program's
help-documentation to see if there is a command-line switch for the program to
terminate it "naturally"?
==
Cheers, Tim Meddick, Peckham, London. :-)
"charles" <som...@somewhere.invalid> wrote in message
news:82jc0n...@mid.individual.net...
i agree thats very annoying bug of windows system tray.
try this commands at the end of your script (can help sometimes):
nircmd shellrefresh
nircmd sysrefresh
http://www.nirsoft.net/utils/nircmd.html
one more method is to restart shell but in case of default gui shell
i.e. windows explorer there is another problem: system tray icons of
applications that are running can disappear.
Thanks for your all your replies.
Yes, I am using a taskkill type program, there is no commandline option.
I've tried GhostMouse 2.0 to automatically move the mouse to the right
place but it's slow and no way to put the mouse back where it was. If
there are any other similar programs I'd like to hear of them.
Using nircmd was a good idea I hadn't thought of but unfortunately
doesn't refresh the tray area in any way I've tried.
Lot of effort for little payback. Very annoying windows bug.
Maybe this will help http://www.ptfbpro.com/
==
Cheers, Tim Meddick, Peckham, London. :-)
"charles" <som...@somewhere.invalid> wrote in message
news:82ra8u...@mid.individual.net...
>
> < clipped >