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 uses a scaled resolution of my screen for functions (MacOS Catalina Diaplay) #699

Open xiewenjing1170 opened 2 years ago

xiewenjing1170 commented 2 years ago

I'm running on Macbook Catalina 13.3 inch and my issue is that functions like pyautogui.moveTo use a coordinate system of 1440,900 when my screen size is 2560,1600).

This is a problem because other commands like pyautogui.pixel use the real screen size (2560,1600) so the too commands aren't in sync.

I have tried a lot of methods but doesn't work. Thanks!