Re: Catch Messenger Service.
From: BaKaR (bakar_at_metro-cc.DnotSpamMe.hr)
Date: 03/19/04
- Next message: Lefteris: "Re: Join Workgroup from command line"
- Previous message: Najam: "users logon and Logoff Auditing"
- In reply to: Torgeir Bakken (MVP): "Re: Catch Messenger Service."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 19 Mar 2004 09:46:35 +0100
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,
--
*. Remove: "DnotSpamMe" When R_ing.
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message news:4059C1AC.F80A43D7@hydro.com...
> BaKaR wrote:
>
> > 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."
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/community/scriptcenter/default.mspx
>
>
>
- Next message: Lefteris: "Re: Join Workgroup from command line"
- Previous message: Najam: "users logon and Logoff Auditing"
- In reply to: Torgeir Bakken (MVP): "Re: Catch Messenger Service."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|