Bruno Degli Esosti
Bruno Degli Esosti

Reputation: 21

Simulating a long keypress in python

Is there a way to simulate a long keypress in python? I tried with SendKies and win32api, with no luck. I would like to keep using python 2.5 or 2.6, because i also need the pybluez module. Thank you in advance.

Upvotes: 2

Views: 568

Answers (1)

Sam
Sam

Reputation: 129

Something I have done to simulate a longer key press is use a time.sleep(amountoftime) between the key press and key release.

Upvotes: 1

Related Questions