dc740 / AutoHotPy

AutoHotKey replacement using Incerception driver
GNU Lesser General Public License v3.0
59 stars 23 forks source link

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

Open arankol opened 1 year ago

arankol commented 1 year ago

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 commented 1 year ago

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

dc740 commented 1 year ago

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: @.***>

arankol commented 1 year ago

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 commented 1 year ago

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