how to use controlmove?

Ask gaming related questions (AHK v1.1 and older)
xypheran
Posts: 2
Joined: 31 Jul 2019, 18:45

how to use controlmove?

31 Jul 2019, 22:33

Code: Select all

#Persistent
CoordMode Mouse, Screen
SetTitleMatchMode, 2
SetControlDelay -1

^j::
;Top Left Autocraft
ControlSend , ahk_parent, 9, windowname
Sleep 200
ControlClick, x480 y275, windowname,,,, NA
Sleep 200
ControlMove, 480, 210, windowname
Sleep 500
ControlClick, x480 y210, windowname,,,, NA
Sleep 200
ControlSend , ahk_parent, {Shift down}, windowname
Sleep 200
Was having trouble getting controlclick to change coordinates in my game and saw someone else have success using controlmove as a workaround. Having just stumbled across this command, i have no idea what i am doing or how to incorporate it. Looked at the documentation and was unable to get it to work, thanks for any help.

[Mod edit: Topic name added and moved to 'Ask For Help > Gaming']

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: yuu453 and 76 guests