Mancelion Posted March 5, 2009 Share Posted March 5, 2009 (edited) Hey! I fly alot around trying to search for some rare spawns in World of Warcraft. I made an in-game macro which targets the spawns if they are close. Basically I used to press manually button no.1 where I put the macro while flying around - but that kinda started to hurt my finger pressing just that one button gazillion times. Hence - I just made the simplest script ever just to spam button "1" every half second while I'm flying around. My question though is - cause sometimes I switch to my monitor no. 2 browsing forums etc while I'm flying around - but then my script tries to spam "1" in my active window. Is it possible to make the script send the command to the window only - called "World of Warcraft" ? Script I use now is just this simple here: Loop: EnvAdd, LoopCounter, 1 Send, 1 Sleep, 500 Goto, Loop Any ideas ? Edit: Currently just using AutoIt 2 Edited March 5, 2009 by Mancelion Link to comment Share on other sites More sharing options...
Torri Posted March 7, 2009 Share Posted March 7, 2009 Check out the controlsend function 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