GhostSuicide Posted February 17, 2008 Share Posted February 17, 2008 (edited) Okay please don't flame I know I'm rushing but I'm more of a hands on then reading and correcting lol. I used the recorder and did the basics of which I am trying to accomplish.Send("a")MouseMove(263,118)MouseDown("left")MouseMove(262,118)MouseUp("left")I don't understand how to make it auto lock after I send("a") I know that Mousedown left is a Left click. When playing this game, You select your unit, press A then left click on another unit to send an attack move on it. The Mouseup("left") im guessing is the release of the left down? The MouseMove is where it attacks, there is another sniper on that position but how do I get it to click on the Sniper? And actually attack it?Also, what if I wanted to use a hotkey instead of A? Say press Tab and it does what I'm asking above in replace of A? Edited February 17, 2008 by GhostSuicide Link to comment Share on other sites More sharing options...
Zedna Posted February 21, 2008 Share Posted February 21, 2008 Send("a") MouseClick("left",263,118) Also look into AutoIt helpfile at HotkeySet() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now