BrikBoder Posted March 5, 2017 Share Posted March 5, 2017 I have a old Ahk recoil script and would like to run it in AutoIt could anyone help me convert it? #NoEnv SendMode Input ~Q::Suspend ~End::ExitApp LCtrl & ~LButton:: Loop If GetKeyState("LButton", "LCtrl") { Sleep, 1 moveAmount := (moveAmount = 2) ? 3 : 0 mouseXY(moveAmount,4) } else break Return mouseXY(x,y) { DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0) } Link to comment Share on other sites More sharing options...
BrikBoder Posted March 5, 2017 Author Share Posted March 5, 2017 I have a old Ahk recoil script and would like to run it in AutoIt could anyone help me convert it? #NoEnv SendMode Input ~Q::Suspend ~End::ExitApp LCtrl & ~LButton:: Loop If GetKeyState("LButton", "LCtrl") { Sleep, 1 moveAmount := (moveAmount = 2) ? 3 : 0 mouseXY(moveAmount,4) } else break Return mouseXY(x,y) { DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0) } Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2017 Developers Share Posted March 5, 2017 3 hours ago, BrikBoder said: I have a old Ahk recoil script Sound like game automation, so please read our forum rules before continuing asking questions in our forums. I've merged the double post and like to comment that this is a help forum, not an please make a script for me forum. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts