Called SetFocus() before TypeKeys() does it's stuff.

This commit is contained in:
markm 2006-03-08 21:28:32 +00:00
parent bc442f8989
commit 3e06394a04

@ -680,6 +680,8 @@ class HwndWrapper(object):
self.VerifyActionable()
self.SetFocus()
# attach the Python process with the process that self is in
win32functions.AttachThreadInput(
win32functions.GetCurrentThreadId(), self.ProcessID(), 1)