PyUserInput icon indicating copy to clipboard operation
PyUserInput copied to clipboard

Shift key not releasing

Open majora2007 opened this issue 10 years ago • 4 comments

The issue I am facing is as follows:

type_string('Hello Anna, how are you?')

outputs:

HELLO ANA< HOW ARE YOU?

This then leaves the computer (after python closes) in a state as if Shift was being held down.

I debugged the type_string method and it looks to be working, so only thoughts is that release_key() is not firing correctly.

image

I am using Python 2.7 with Windows 7.

majora2007 avatar Jan 13 '16 20:01 majora2007

That's hilarious. I'm not sure what to do about it. You could test with separate press and release commands with delays inbetween to see what happen. I'm not really a windows user, so...

pepijndevos avatar Jan 13 '16 20:01 pepijndevos

I'll have to take a closer look at this. May I ask what your keyboard layout is?

SavinaRoja avatar Jan 13 '16 21:01 SavinaRoja

English (United States) - US

majora2007 avatar Jan 14 '16 14:01 majora2007

Me too!!!!!!!!!!!!!!!!!!!!!!!!!!!! i am use python 3.5 . after run this, you must click shift to cancel it. if you dont do this, it will keep shift hold!

ffllc avatar Dec 06 '16 14:12 ffllc