Discussion, questions and support.
-
gsechler
- Posts: 6
- Joined: Dec 7th, ’18, 19:38
Post
by gsechler » Mar 3rd, ’21, 22:35
I'm trying to figure out if it's possible to simulate a click on a particular area of the screen without moving the mouse's location? I can get this to work with the MouseMove command below, but I'd really like the mouse to remain (or return...?) to its original position. Any thoughts or suggestions?
Thanks!
-
Marko
- Posts: 1730
- Joined: Mar 2nd, ’13, 21:02
Post
by Marko » Mar 5th, ’21, 23:10
Something like this?
Code: Select all
CoordMode, Mouse, Screen
MouseGetPos, px, py
MouseMove 2638, 105, 1
Send {Click 1}
MouseMove, px, py, 1
https://www.autohotkey.com/docs/commands/MouseMove.htm