-
Notifications
You must be signed in to change notification settings - Fork 39
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
mouse_move bugs #20
Comments
Run the follow code.for i in range(1,10):
time.sleep(0.5)
pm.mouse_move(20,20)
print(pm.mouse_position())
The result:
临轩听水?
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年7月1日(星期六) 下午2:46
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [qb-0/pyMeow] mouse_move bugs (Issue #20)
How to reproduce the issue? I've tried it with following code but seems like everything is working fine.
import pyMeow as pm from time import sleep for i in range(1000): sleep(0.5) pm.mouse_move(i, i)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Code:for i in range(1,10):
time.sleep(0.5)
pm.mouse_move(20,20)
print(pm.mouse_position())Output:{'x': 1237.0, 'y': 582.0} {'x': 1277.0, 'y': 622.0} {'x': 1317.0, 'y': 661.0} {'x': 1356.0, 'y': 701.0} {'x': 1396.0, 'y': 741.0} {'x': 1436.0, 'y': 780.0} {'x': 1475.0, 'y': 820.0} {'x': 1515.0, 'y': 860.0} {'x': 1555.0, 'y': 899.0}The version 1.43.25
临轩听水?
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年7月1日(星期六) 下午2:46
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [qb-0/pyMeow] mouse_move bugs (Issue #20)
How to reproduce the issue? I've tried it with following code but seems like everything is working fine.
import pyMeow as pm from time import sleep for i in range(1000): sleep(0.5) pm.mouse_move(i, i)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks. Has been fixed: pm.mouse_move(0, 0)
for i in range(5):
sleep(1)
print(pm.mouse_position())
pm.mouse_move(20, 20, True) Output:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless using your hand to move the mouse,
executing 'mouse_move' after the second attempt will result in an error distance
The text was updated successfully, but these errors were encountered: