On May 27, 2018, at 10:19 PM, Ram Rachum wrote:
>
> Oh, that sounds heavy. I guess I'm back to polling. Any idea how to do this
> with polling?
It would be easy with polling. You'd use EnumWindows to go through the list of
all top-level windows, GetWindowText to get the window title,
GetWin
On Mon, May 28, 2018 at 7:11 AM, Tim Roberts wrote:
> On May 27, 2018, at 6:36 AM, Ram Rachum wrote:
> >
> > I'd like to use the `wmi` module to detect when a window with the title
> "Foo Bar" was created, and then kill the process that created this window.
> Is this possible?
>
> Not with WMI,
On May 27, 2018, at 6:36 AM, Ram Rachum wrote:
>
> I'd like to use the `wmi` module to detect when a window with the title "Foo
> Bar" was created, and then kill the process that created this window. Is this
> possible?
Not with WMI, no.
> (I can do the killing without `wmi`, I just need to
Hi everyone,
I'd like to use the `wmi` module to detect when a window with the title
"Foo Bar" was created, and then kill the process that created this window.
Is this possible?
(I can do the killing without `wmi`, I just need to ID the process.)
Note that I don't want to be periodically polling