import pyautogui
import sys
import keyboard
import threading
import sched, time
from pynput.mouse import Button, Controller
i=0
while True:
try:
if i<1:
screenWidth, screenHeight = pyautogui.size()
currentMouseX, currentMouseY = pyautogui.position()
pyautogui.moveTo(x=100, y=100,duration=2, tween=pyautogui.linear)
pyautogui.moveTo(x=0, y=600,duration=2, tween=pyautogui.linear)
pyautogui.moveTo(x=400, y=400,duration=2, tween=pyautogui.linear)
pyautogui.moveTo(x=100, y=100,duration=2, tween=pyautogui.linear)
pyautogui.moveTo(screenWidth / 2, screenHeight / 2)
pyautogui.click(x=None, y=None, clicks=1, interval=0.0, button='middle', duration=0.0, tween=pyautogui.linear)
pyautogui.moveTo(screenWidth / 2, screenHeight / 2)
time.sleep(1)
i=i+1
keyboard.press(i)
continue
except:
break
sys.exit(3)
麻竹先自己动的鼠标()
最新推荐文章于 2024-08-29 14:47:26 发布