How to Store the Mouse Position and Restore it Later

For getting one macro to do two things for press and release: You can set two triggers; one pressed, one released, then have an If/Else using the text condition %Trigger% ends with "pressed" or "released".

You may also find this helpful, specifically the repeat macros: