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.47k
stars
1.27k
forks
source link
[Remote Mac Server] pyautogui.locateCenterOnScreen() sometimes fail. Guess error in "subprocess.call(['screencapture', '-x', tmpFilename])" #766
Open
rrrrrrrero opened 1 year ago
Help!!!!! Device Info: Monterey 12.6.1
pyautogui.locateCenterOnScreen() worked mostly fine, but sometimes went wrong. The error is listed as follow:
I guess the problem may occur in this func but have no idea how to deal with it.