What steps will reproduce the problem?
TypeKeys('{}}'). According to the documentation of SendKeys, this should type a
closing curly brace '}'. However, SendKeys doesn't recognize that the closing
curly brace in the middle of '{}}' is escaped and raises "RuntimeError: Unknown
code:".
What is the expected output? What do you see instead?
The expected output is that the HwndWrapper on which TypeKeys is called
receives the key combination for a curly brace. Instead, a RuntimeError is
raised by SendKeysCtypes.
What version of the product are you using? On what operating system?
pywinauto-0.4.0, Python 2.7.3 on Windows 7 32 bit.
Please provide any additional information below.
The bug is easy to spot in SendKeysCtypes.py. I can provide a patch if needed.
Original issue reported on code.google.com by mherrman...@gmail.com on 24 Jul 2012 at 6:49
Original issue reported on code.google.com by
mherrman...@gmail.com
on 24 Jul 2012 at 6:49