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.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to