python简单鼠标自动点击某区域的实例

时间:2022-11-25 16:14:21

功能:间隔5毫秒,快速点击屏幕某区域,循环45000000次

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

以上这篇python简单鼠标自动点击某区域的实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持服务器之家。

原文链接:https://blog.csdn.net/weihaiw/article/details/79049657