Davides Posted June 1, 2010 Share Posted June 1, 2010 The program doess't always click... Is there a way I can make it always click corectly? HotKeySet("{esc}","terminate") Func Terminate() Exit 0 EndFunc Run("C:\Program Files (x86)\Internet Explorer\iexplore.exe") WinWaitActive("d2jsp Forums - Windows Internet Explorer") MouseClick("left", 200, 40) Send("http://armorgames.com/play/2625/storm-the-house-3{enter}") Sleep(4000) MouseClickDrag("left",1352,257,1352,363) MouseClick("left",900,580) Sleep(8000) MouseClick("left",412,442) MouseClick("left",700,400) MouseClick("left",650,435) Sleep(500) MouseClick("left",585,285) Sleep(100) MouseClick("left",570,400);This doesn't always click... Sleep(100) MouseClick("left",735,598) Link to comment Share on other sites More sharing options...
Davides Posted June 1, 2010 Author Share Posted June 1, 2010 I guess I should specify that it is NOT online, and does not specify to not automate the game... Link to comment Share on other sites More sharing options...
niubbone Posted June 2, 2010 Share Posted June 2, 2010 (edited) Don't know... code seems perfect and it does all clicks to me. Try Controlclick Edited June 2, 2010 by niubbone Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 2, 2010 Share Posted June 2, 2010 Try increasing the Sleep value. Maybe 250 to start, lower it more if needed. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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