AutoHotkey, MouseMove
autohotkey
Solution
You need to use `MouseGetPos` to save the previous position, then restore it.
I think this should do it:
f::
MouseGetPos,xpos,ypos
Click 987,851
MouseMove,%xpos%,%ypos%
return
Problem
In AutoHotkey, I want to click my mouse at position X,Y where X and Y are known but then I want it to return to the original position (arbitrary) Right now I just have: ``` f:: Click 987,851 MouseMove,661,506 return ``` I would like to replace the 3rd line with a new method that returns it to the original position Thanks