I want my silktest script to kill processes like msn messenger and yahoo messenger.That is done through batch file
But the icons(of msn messenger) remain in system tray(windows taskbar)even after killing the process
Is there any way to refresh system tray in silktest?.Can we use any windows API for this ?(I do not want to move mouse pointer over taskbar which may give sometimes errrors)
Try sending F5 to it with TypeKeys()
Chris R Mead
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
sending F5 will not refresh the system tray
You could try window.MoveMouse().
Don't trust, just verify. - Stephen D. Levitt
Why not write routines that will seek out the systray icon, and close it that way - with the menu choices. That would make the icon go away.
Otherwise, generally moving the mouse over the system tray will remove the items, so using the mouse move over the coordinates perhaps would work.
As I said i am using windows.movemouse method now.But it gives sometimes exceptions
Is there any windows api ,I can use through silktest, to send a message to system tray that the process no longer exists?