weedcrackrun Posted March 24, 2005 Share Posted March 24, 2005 Ok i made a script thats suppose to be a macro for a game. It's suppose to click in 2 different spots, but it doesnt work when its in the game. Its a full screen game, and it has a custom mouse. I know that it might now shot the mouse moving in the game, but it still doesnt do whats its supposed to. I have used scripts made by other people in games such as world of warcraft, and it does everything without you seeing the mouse move. I cant even get it to do what i want it to. What am i doing wrong? Do i need to run the game in windowed mode? It doesnt have windowed mode though so I would be screwed. Link to comment Share on other sites More sharing options...
Garrett19212 Posted March 24, 2005 Share Posted March 24, 2005 WinWaitActive("world of warcraft or w.e") sleep(1000) mouseclick("w.e",w.e,w.e,w.e) sleep(100) mouseclick("w.e",w.e,w.e,w.e) Link to comment Share on other sites More sharing options...
weedcrackrun Posted March 24, 2005 Author Share Posted March 24, 2005 (edited) I will try this and let you know if it works. I thought sleeping would have something to do with it. Edit: doesnt work, heres my code (yes i know how long and complicated it is.) WinWaitActive("window name") sleep(1000) MouseClick("left", 325, 714, 10) sleep(100) MouseClick("left", 325, 714, 10) MsgBox(0, "Test", "Script Complete") Edited March 24, 2005 by weedcrackrun Link to comment Share on other sites More sharing options...
Ejoc Posted March 24, 2005 Share Posted March 24, 2005 I had problems using winwaitactive and controlsend with games, does the MsgBox work? Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
weedcrackrun Posted March 24, 2005 Author Share Posted March 24, 2005 Yes it works, but the game minimizes and it shows up on my desktop. 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