asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

pyautogui.scroll 在Window中使用存在问题 | There is a problem using pyautogui.scroll in window #644

Open ACG-Q opened 2 years ago

ACG-Q commented 2 years ago

使用pyautogui.scroll(x=10,y=10,clicks=40) 在Windows中无法触发移动鼠标,只能触发滚动40滚动量

Use pyautogui.scroll (x = 10, y = 10, clicks = 40) In windows, you can't trigger moving the mouse. You can only trigger scrolling 40 scrolling amount

ACG-Q commented 2 years ago

系统环境 | System environment

image

pyautogui版本 | Pyautogui version

image

wealthe commented 7 months ago

这个方法是在指定的位置进行滑轮操作,并不会真正地移动光标