Reputation: 3
I'm trying to make some code that accomplishes repeating clicking jobs while I'm doing other tasks (such as web surfing) on my PC.
I've tried Pyautogui, but the library interferes my actual mouse while the script running.
Is there any python lib I can use for this purpose?
or any advises?
for example,
import pyautogui, sys
print('Press Ctrl-C to quit.')
try:
while True:
pyautogui.moveTo(100, 200)
except KeyboardInterrupt:
print '\n'
Such as this code, will move my mouse cursor to the location. however, I don't want that consequence.
Upvotes: 0
Views: 226