Mouse move and then key press Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Nikiwonno
Posts: 8
Joined: 29 Jun 2022, 10:44

Mouse move and then key press

Post by Nikiwonno » 29 Jun 2022, 10:54

Hi, I am trying to mouse my mouse cursor to a certain position and then press the key on that position. The following code below does the trick:

Code: Select all

MouseMove, 5, 5, 0

Send {j down}
However, if I am quick enough, and I continue to move my mouse manually after the MouseMove has executed, the j key will be pressed at the wrong position, is there anyway to resolve this issue?


Post Reply

Return to “Ask for Help (v1)”