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

Recording a macro to a file does not work well. #20

Open
arankol opened this issue Feb 19, 2023 · 4 comments
Open

Recording a macro to a file does not work well. #20

arankol opened this issue Feb 19, 2023 · 4 comments

Comments

@arankol
Copy link

arankol commented Feb 19, 2023

image
Actually the problem is shown in the screenshot, when saving the macro, the coordinates are saved incorrectly because of its launch, the mouse flies to the edge of the monitor. Help please, very necessary thing, but does not work. Pure recording and playback work fine, but saving doesn't play well. I hope for your support.Actually the problem is shown in the screenshot, when saving the macro, the coordinates are saved incorrectly because of its launch, the mouse flies to the edge of the monitor. Help please, very necessary thing, but does not work. Pure recording and playback work fine, but saving doesn't play well. I hope for your support.

@arankol
Copy link
Author

arankol commented Feb 19, 2023

image
I understand the matter in these two lines, but I can't understand how they are formed

@dc740
Copy link
Owner

dc740 commented Feb 19, 2023 via email

@arankol
Copy link
Author

arankol commented Feb 20, 2023

Hi. This project has been abandoned for a long time. I'm surprised it still works. I don't have a Windows machine to test it anymore either. I don't recall the code at all but it probably starts from the same mouse position from the first saved mouse event or something like that, or it simply has a bug when it saves. I'm sorry I can't be of much help. El dom, 19 feb 2023 21:00, arankol @.> escribió:

[image: image] https://user-images.githubusercontent.com/85194344/219972118-6829816b-a691-4c1e-95a1-108cdd78355b.png I understand the matter in these two lines, but I can't understand how they are formed — Reply to this email directly, view it on GitHub <#20 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFM2DF6C4ZAKQ3XMNQONLWYJ3XPANCNFSM6AAAAAAVBEQ3EM . You are receiving this because you are subscribed to this thread.Message ID: @.
>

It's a pity, I don't really understand why your project has not found any popularity, since it is very much in demand, since now there are many places where click emulation protection is put and simple emulations are not suitable. I would be very grateful if you could take the time to check what is wrong, or at least explain how saving from the recorded macro storage function works.

@SkyFields
Copy link

SkyFields commented Mar 9, 2023

https://github.com/dc740/AutoHotPy/blob/master/Example7-Macros3%20-%20Saving%20macro%20to%20file.py#L36

When you start recording macro - mouse position stored in global variable

After that when you save the macro to a file that saved position passed to the function
https://github.com/dc740/AutoHotPy/blob/master/Example7-Macros3%20-%20Saving%20macro%20to%20file.py#L36

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

3 participants