Sign in to follow this  
Followers 0
Davides

Program doesnt always click...

4 posts in this topic

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)

Share this post


Link to post
Share on other sites

I guess I should specify that it is NOT online, and does not specify to not automate the game...

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Don't know... code seems perfect and it does all clicks to me. Try Controlclick

Edited by niubbone

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0