You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Windows 10 x64 laptop running Pycharm with a Pyautogui script in Python 3.6
This works fine and detects screen size/resolution correctly when working locally (1920x1080)
When using the same machine remotely via Remote Desktop, the screen size is detected incorrectly.
When setting RDP to 1920x1080, pyautogui detects 2400x1350
When setting RDP to 1920x1200, pyautogui detects 2400x1500.
This results in screenshots in these larger resolutions, with the extra areas being completely black.
Also the locate functions do not work anymore for some reason, it almost seems as if the actual screen area that is captured is cropped slighly making all locate functions fail. Or there's just a mismatch in resolution as the needle images are made at 1920x1080.
I have a Windows 10 x64 laptop running Pycharm with a Pyautogui script in Python 3.6
This works fine and detects screen size/resolution correctly when working locally (1920x1080)
When using the same machine remotely via Remote Desktop, the screen size is detected incorrectly.
When setting RDP to 1920x1080, pyautogui detects 2400x1350
When setting RDP to 1920x1200, pyautogui detects 2400x1500.
This results in screenshots in these larger resolutions, with the extra areas being completely black.
Also the locate functions do not work anymore for some reason, it almost seems as if the actual screen area that is captured is cropped slighly making all locate functions fail. Or there's just a mismatch in resolution as the needle images are made at 1920x1080.
Is there any known way to fix this?
Versions:
0.9.38 ['C:\Python36\lib\site-packages\pyautogui']
0.1.18 ['C:\Python36\lib\site-packages\pyscreeze']
(2400, 1500)
The text was updated successfully, but these errors were encountered: