Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
How do I use SendInput in Python?
Adam W.
2/16/2008 7:09:00 PM
I'm at the last stage of my project and the only thing left to do is
trigger a mouse click. I did some searching around for example code
and stumped upon SendInput
http://msdn2.microsoft.com/en-us/library/ms6...
.. However I was not able to find example code for python USING
SendInput, and I have zero ability to make C work (or whatever that is
written in). Can someone help me use SendInput in python, or point me
to an alternative method?
1 Answer
Gabriel Genellina
2/16/2008 11:46:00 PM
0
En Sat, 16 Feb 2008 17:08:59 -0200, Adam W. <AWasilenko@gmail.com>
escribi�:
> I'm at the last stage of my project and the only thing left to do is
> trigger a mouse click. I did some searching around for example code
> and stumped upon SendInput
>
http://msdn2.microsoft.com/en-us/library/ms6...
> . However I was not able to find example code for python USING
> SendInput, and I have zero ability to make C work (or whatever that is
> written in). Can someone help me use SendInput in python, or point me
> to an alternative method?
Try sendkeys:
http://www.rutherfurd.net/python/sendkeys/...
PyWinAuto uses the above library and lets you automate an application in a
very simple way:
http://www.openqa.org...
--
Gabriel Genellina
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How do I use SendInput in Python?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password