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

Mouse speed is not real- it is very slow. #17

Open
ruslanmv opened this issue Oct 24, 2021 · 0 comments
Open

Mouse speed is not real- it is very slow. #17

ruslanmv opened this issue Oct 24, 2021 · 0 comments

Comments

@ruslanmv
Copy link

Hello, thank your for this great program, I am trying to improve the speed of the mouse, and I was doing some tests to find somehow where is the part where the speed of the mouse does not reproduce the actual times of the original ones.
My first impression was that maybe at the AutoHotpy.py,
the time.sleep(interval) is a little bigger than the original ones.
I have tried to reduce the time.sleep(interval) for example, 0.0001*interval
in the part in the runMacro definition

self.sleep(getTimeDifference(last_time,event[0])) #wait before firing the event

To see if this can reduce the overall running time of the program, but unfortunately, this does not increase the speed.

Do you know at which point can I control the speed of the program,
or in which part of the program maybe there is a bottleneck that makes the program makes the reproduction not exactly with the same times of the recording.

Any hint or suggestion is welcomed. In this way, I can try to find a small improvement in this part.
I need to reproduce the recording with the same times as the real ones.

Best regards
Ruslan

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