Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_position altered after importing pyautogui #124

Open
asasa137 opened this issue Dec 26, 2022 · 0 comments
Open

get_position altered after importing pyautogui #124

asasa137 opened this issue Dec 26, 2022 · 0 comments

Comments

@asasa137
Copy link

Hi,

After importing pyautogui, it appears that the screen size is altered and so for position given by get_position function.

import mouse
mouse.get_position()
import pyautogui
mouse.get_position()

Here's what I get when I position my mouse in the bottom right corner, i get:

>>> import mouse
>>> mouse.get_position()
(1279, 719)
>>> import pyautogui
>>> mouse.get_position()
(1919, 1079)

Is this normal behaviour ? Any workaround ?

Versions:
mouse 0.7.1
PyAutoGUI 0.9.53
Python 3.8.5
Windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant