Python Forum
Moving Mouse - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Moving Mouse (/thread-14922.html)



Moving Mouse - ian - Dec-24-2018

I use pyautogui to move the mouse but found I can only move to right edge (1920) of the 1st monitor. Is there a way to move farther (on my 3rd monitor) by using it?

import pyautogui
pyautogui.moveTo(5120,155) #the cursor is actually moved to (1920, 155)



RE: Moving Mouse - Larz60+ - Dec-25-2018

do the example programs https://github.com/asweigart/pyautogui
work ok?