Called SetFocus() before TypeKeys() does it's stuff.
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user