AutoHotPy icon indicating copy to clipboard operation
AutoHotPy copied to clipboard

Recording a macro to a file does not work well.

Open arankol opened this issue 2 years ago • 4 comments

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 avatar Feb 19 '23 19:02 arankol

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

arankol avatar Feb 19 '23 20:02 arankol

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 https://github.com/dc740/AutoHotPy/issues/20#issuecomment-1436079483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFM2DF6C4ZAKQ3XMNQONLWYJ3XPANCNFSM6AAAAAAVBEQ3EM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dc740 avatar Feb 19 '23 23:02 dc740

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.

arankol avatar Feb 20 '23 06:02 arankol

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

SkyFields avatar Mar 09 '23 14:03 SkyFields