in reply to find active window

Use one of the Win32:: modules, like Win32::API, and then make the appropriate API call (I just happen to know it's GetForegroundWindow cause I use AMMO SDK)

update: I just remembered Win32::GuiTest ( * ) .


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.

Replies are listed 'Best First'.
Re: Re: find active window
by Foggy Bottoms (Monk) on Jun 10, 2003 at 13:11 UTC
    Thanks a bunch... It sends me an ID # now. I'm all settled then. Thanks again.