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 After closing Remote Desktop Connection Mouse failure #703

Open Yuri2 opened 2 years ago

Yuri2 commented 2 years ago

pyautogui After closing Remote Desktop Connection Mouse failure PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen. To disable this fail-safe, set pyautogui.FAILSAFE to False. DISABLING FAIL-SAFE IS NOT RECOMMENDED

After the remote connection is disconnected, the mouse fails and an error is reported. How can it work after the remote connection is disconnected: pyautogui.moveTo(100, 200, duration=1,tween=pyautogui.easeOutQuad) After disconnection, the light village of the mouse will not move; Is there a solution?

JayRizzo commented 2 years ago

Hi @Yuri2, yes, checkout the closed topics on this subject not sure if any of these will help. if they don't please reply back.

Checkout these comments to see if it will solve your problem. https://github.com/asweigart/pyautogui/issues?q=is%3Aissue+is%3Aclosed+remote+desktop+