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
Currently I am using your library to automate some mouse movements, and I wrote all of the code on my desktop computer, but when I run the same code on my laptop, for some reason the mouse movements slow down significantly. Whereas before, for example, if the mouse took a second to travel from A to B, it would now take 1.5 seconds or so (not the actual figures).
My CPU idles at 10% load, and when running the script it might go up to 15%. I don't think it is hardware related. Do you have an idea of what it could be? Do you think it perhaps has to do with the pixels the cursor has to travel? My desktop uses 3440x1440, whereas my laptop's resolution is 1920x1080.
Many thanks for your support!
The text was updated successfully, but these errors were encountered:
Most probably, it is the difference in resolution and screen size. I don't remember the actual implementation, but I wanted to make short movements ( 50 px vector ) inherently slower then long movements ( across the screen), as it is the natural behaviour of humans. Slow and controlled for short distances, fast and erratic for long ones.
Maybe that is why its taking longer on the smaller screen. Have you set a static duration parameter? Also higher density means more pixels, and that may affect the movement also.
Hi Riflo,
Thanks for the creation of this library.
Currently I am using your library to automate some mouse movements, and I wrote all of the code on my desktop computer, but when I run the same code on my laptop, for some reason the mouse movements slow down significantly. Whereas before, for example, if the mouse took a second to travel from A to B, it would now take 1.5 seconds or so (not the actual figures).
My CPU idles at 10% load, and when running the script it might go up to 15%. I don't think it is hardware related. Do you have an idea of what it could be? Do you think it perhaps has to do with the pixels the cursor has to travel? My desktop uses 3440x1440, whereas my laptop's resolution is 1920x1080.
Many thanks for your support!
The text was updated successfully, but these errors were encountered: