# # 鼠标移动加点击
# # 系统准备时间
# time.sleep(2)
# 取得帮助菜单位置
help_pos = pyautogui.locateOnScreen('help.png')
print(help_pos)
goto_pos = pyautogui.center(help_pos)
# 移动鼠标
pyautogui.moveTo(goto_pos,duration=1)
# 点击
pyautogui.click()
# 再移动鼠标
pyautogui.moveRel(0,650,duration=1)
# 再点击
pyautogui.click()
pyautogui获取图片并点
最新推荐文章于 2024-04-29 12:36:21 发布