Catch Messenger Service.

  • Thread starter Thread starter BaKaR
  • Start date Start date
B

BaKaR

Hi.

OS: Win2K Server.
Messenger Service is displaying popups - thats ok, those msgs are valid, regular.
Source: win2K server on its own (ntbackup alert msgs), or some other win2K server in the domain - also valid messenger service
popups.

Sometimes i get like 500+ Messenger Service popups - i dont want to "click" all those.
Im interested in counting of msgs and how to clean them.

Is it possible to catch the number or clean them through "cmd" ? or WSH scripting with WMI ?
So, im thinking of programmaticly getting the number of msgs waiting in queue (i dont know where that is) and cleaning the
duplicates or all.

Any ideas are welcome!

Thank You,
 
BaKaR said:
Sometimes i get like 500+ Messenger Service popups - i dont want to
"click" all those. Im interested in counting of msgs and how to clean them.

Is it possible to catch the number or clean them through "cmd" ? or WSH
scripting with WMI ? So, im thinking of programmaticly getting the number
of msgs waiting in queue (i dont know where that is) and cleaning the
duplicates or all.

Hi

Try this vbscript to close them automatically and present a count
at the end:


Set oShell = CreateObject("WScript.Shell")
i = 0
Do While oShell.AppActivate("Messenger Service")
WScript.Sleep 50
oShell.SendKeys "{ENTER}"
i = i + 1
Loop

WScript.Echo i & " dialog boxes closed."
 
Hi!

That helped, Thank You, just changed the Sleep to 150 and set it to run after inc of i cauze of dalay.

Still, i dont know where is messenger service popup msgs queue on the computer.

Thanks,
 
Back
Top