python Simple Automatic Mouse Click on an Area

  • 2021-07-01 07:49:11
  • OfStack

Function: Quickly click on a certain area of the screen at an interval of 5 milliseconds, and cycle 45,000,000 times


from ctypes import *
import time
time.sleep(5)
for i in range(1,45000000):
 windll.user32.SetCursorPos(900,50);
 windll.user32.SetCursorPos(900,300);

Related articles: