Hi
What i want to do for this is to have my program run in the background simulate pressing a button such as ENTER every 10 seconds or so. I have trauled the net and found solutions for VB and C++ but none for python.

Is this possible in python and if so how would i do it?

That first module worked a treat! It is also so simple to use, ill show you a quick demo:

from SendKeys import SendKeys
SendKeys('Hello{SPACE}world{ENTER}')

This still needs some special characters to be put in differently but other then that it is really simple to use, great for running macros.

Thanks Grib :)

This article has been dead for over six months. Start a new discussion instead.