Sign in to follow this  
Followers 0
bigassmuffin

Wait Comman...i Will Appreciate Help

3 posts in this topic

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!!!!!

Share this post


Link to post
Share on other sites



should go in support

but to wait 3 seconds use

sleep(3000)

Share this post


Link to post
Share on other sites

Thank you for sleep command..didnt know what it does :think:

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