[python-win32] BringWindowToTop doesn't work, anyone have try it?

nathon py nathon.py at gmail.com
Sat Oct 23 08:38:27 CEST 2010


The most important thing is I'am sorry for saying that's a bug.

2010/10/23 nathon py <nathon.py at gmail.com>

> The bug has been closed, you can check here
>
> http://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018
> with an answer 'This is just a "feature" of Windows' by mhammond<http://sourceforge.net/users/mhammond/>
>  .
>
> @Tim, I try the way you mentioned, it really works. I've tried
> ShowWindow(),EnableWindow(),etc, before. It never woks.
> @Preston, I read the tutorial you gave, it's very helpful.
> I use the command line as following :
> start pythonwin /app XXX.py
> It works and producing a window, if i go deep into the pythonWin, it's not
> a problem.
>
> thanks a lot for your advises
>
>
> Why I want to activate a window?
> Because I want to simulate some mouse clicking and keyboard typing in some
> application, doing this automatically please me.
> To activate a window is necessary.
>
> Why in script?
> To double click it or run it in command line is a easy way I prefer.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20101023/042e37da/attachment-0001.html>


More information about the python-win32 mailing list