[python-win32] Is it possible to send Unicode characters using SendKeys ?

Tim Golden mail at timgolden.me.uk
Tue May 20 15:09:28 CEST 2008


Muguntharaj Subramanian wrote:
> Hi All,
> I have started exploring Sendkeys:
> http://www.rutherfurd.net/python/sendkeys/ for one of my applications.
> I find sendkey works well for sending ascii characters to the active
> applications. I am not able to find any documentation on how to send unicode
> characters using sendkey.
> Is it possible for us to use sendkeys to send unicode characters to
> applications? If yes please let me know how to do it.

>From a quick glance, the source in _sendkeys.c is using the
MapVirtualKeyA API call, which is non-Unicode. Frankly, I've
never used this package and I'm unaware of any subtleties, but
I'd guess it won't handle Unicode.

Have you contacted the authors?

TJG


More information about the python-win32 mailing list