Python Sendkeys

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Python Sendkeys

Post by toasty2 »

I'm having trouble with Sendkeys for Python. I can get it to type stuff, but not unicode. After research, it appears to be unable to type unicode characters. That's fine though, because I could do ALT+# instead...Except how do I?
I've tried:

Code: Select all

import SendKeysSendKeys.SendKeys("%(164)") 
But I think the problem is that its using just normal number keys...not the numpad. So what can I do?
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Re: Python Sendkeys

Post by toasty2 »

I resorted to a crude but working solution: I assign the unicode character to the clipboard and paste it. :)
Post Reply