Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need to place objects in a map. They are a lot but distributed regularly (zig-

ID: 656680 • Letter: I

Question

I need to place objects in a map. They are a lot but distributed regularly (zig-zag).

I need an "auto-clicker" that can repeatedly:

click
move mouse of +5 pixels on y axis
click
move mouse of +3 pixels on x axis and -5 on y axis
click
repeat for n times

It should be Open Source, or free with a "clean" installer.

Most auto-clickers I've seen use absolute screen positions, I don't need that.

If you can suggest a more complex program for macros, that's fine (as long as the above requirements are satisfied).

I tried Auto Mouse Clicker, Move Mouse, MouseBot, AutoMouser and looked at the screenshots of some others.

Thanks.

Explanation / Answer

On Microsoft Windows, you use AutoHotkey (free, open-source), which provides:

a MouseGetPos function to retrieve the current position of the mouse cursor.
a MouseMove to move the mouse cursor.
MouseClick