Jump to content

Wait Comman...i Will Appreciate Help


Recommended Posts

I am currently making a script and ran into an error, because each script command runs to quickly after another..

The script contains alot of coord moving, so that is why I msut wait for one of the lines to complete before moving onto the next...

Here is my script, (not even 1% complete, because I can't ontinue without this help):

HotKeySet("{F11}","STOP")

----------------------------------------

Func STOP()

;$msg = $GUI_EVENT_CLOSE

Exit

EndFunc

MouseClick("left", 769, 559, 10)

MouseClick("left", 60, 479, 10)

MouseClick("left", 349, 414, 10)

MouseClick("left", 296, 110, 10)

MouseClick("left", 680, 59, 10)

MouseClick("left", 705, 295, 10)

MouseClick("left", 731, 26, 10)

MouseClick("left", 159, 164, 10)

----------------------------------------

bewteen each "MouseClick()" Function, I want to make it somehow wait or delay untill the next funtion occurs...

Like:

----------------------------------------

Func STOP()

;$msg = $GUI_EVENT_CLOSE

Exit

EndFunc

MouseClick("left", 769, 559, 10)

(Wait 3 seconds) OR it can be (Wait untill Mouse completely moves)

MouseClick("left", 60, 479, 10)

MouseClick("left", 349, 414, 10)

MouseClick("left", 296, 110, 10)

MouseClick("left", 680, 59, 10)

MouseClick("left", 705, 295, 10)

MouseClick("left", 731, 26, 10)

MouseClick("left", 159, 164, 10)

----------------------------------------

I would greatly appreciate anyone to supply the code or help me with it..

THANK YOU SO MUCH FOR YOUR TIME AND HELP!!!!!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...