Move the mouse to a specific position and perform a leftclick then moving back to the original position

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
aromatee
Posts: 1
Joined: 23 Oct 2021, 02:46

Move the mouse to a specific position and perform a leftclick then moving back to the original position

23 Oct 2021, 02:52

Hi Team,

new to the topic...

is it possible to move the mouse to a specific position, perform a left click and move it back to the original position very swift? at best activated by using the keyboad key Q.

Thanks!
User avatar
mikeyww
Posts: 26936
Joined: 09 Sep 2014, 18:38

Re: Move the mouse to a specific position and perform a leftclick then moving back to the original position

23 Oct 2021, 05:29

Code: Select all

q::
MouseGetPos, x, y
MouseClick,, 300, 300,, 0
MouseMove, x, y, 0
Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, OrangeCat and 156 guests