Adding mouse move to existing script

Get help with using AutoHotkey and its commands and hotkeys
hannahelappin
Posts: 53
Joined: 01 Jun 2019, 09:02

Adding mouse move to existing script

10 Jul 2019, 07:50

Hi, cant get the altered script to work, need the mouse to move out of a highlighted area before firing ^s.


Current working script


#ifWinactive, ahk_class #32770
^s::
Send, !s
Sleep, 1500
Send, !{F4}
Sleep, 400
Click, 1685, 47
Return
#ifWinactive

Adjusted

#ifWinactive, Product Record -
^s::
Mousemove, 955, 146
Sleep, 1500
Send, !s
Sleep, 1500
Send, !{F4}
Sleep, 400
Click, 1685, 47
Return
#ifWinactive

Many Thanks
Gareth

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], boiler, Google [Bot], JackMa, rpgfreak128 and 272 guests