Hey there!
I saw your project and knew right away that I could do this for you no problem. Wrote up the code and tested it in approx 30 minutes or so (written in Python).
All the variables you would like to set ( like the time for pauses and the mouse click locations ) are conveniently placed at the top of the script in this fashion -
# ======================================================= #
# ================= User Variables ====================== #
# ======================================================= #
reps = 3 # loop repetitions
x1, y1 = (334, 202) # first click location
x2, y2 = (415, 202) # second click location
x3, y3 = (549, 202) # third click location
x4, y4 = (734, 202) # double click location
p1, e1 = (2, 4) # first random pause
p2, e2 = (2, 4) # first random pause
p3, e3 = (2, 4) # first random pause
p4, e4 = (2, 4) # first random pause
p5, e5 = (2, 4) # first random pause
for easier access.
Library requirements are simple and available from pip ( I can certainly provide the installation method for those as well if you accept my work ) and are compatible on Linux, Mac and Windows.
I even included a little terminal script that shows your mouse cursor location "live" for setting the variables up.
I REALLY hope you decide to choose my script and if you had a request in the layout let me know, I can change whatever for want.
Sincerely,
traBpUkciP