dorpus has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I would like to write a program that would kill only popup windows that have certain names. To do that, I would need to get a list of windows currently open in the windows environment (XP). I've looked into Win32::PerfLib but that only gives me processes (not application names where the window names would appear). Does anyone know how to do this? Thanks

Replies are listed 'Best First'.
Re: popup window killer?
by PodMaster (Abbot) on Mar 04, 2003 at 14:24 UTC
    Win32::CtrlGUI and Win32::GuiTest spring to mind. You might wanna check cpan for Win32- distributions

    There is always Win32::API


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: popup window killer?
by Jenda (Abbot) on Mar 04, 2003 at 17:04 UTC

    Not a Perl answer but ... what about ScriptIt? (Well .. there seems to be something spicy going on I can't find a download of the actual EXEcutable on MIcrosloths site. The page says "Click here to access scriptit.exe" but if you click that you'll only be able to download the documentation. /msg me if you want the EXEcutable (it was a free download and I did not find any info regarding the license conditions so what the heck, you paid for the OS already).

    Jenda