bigassmuffin Posted May 3, 2006 Posted May 3, 2006 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 ExitEndFuncMouseClick("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 ExitEndFuncMouseClick("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!!!!!
Thatsgreat2345 Posted May 3, 2006 Posted May 3, 2006 should go in support but to wait 3 seconds use sleep(3000)
bigassmuffin Posted May 3, 2006 Author Posted May 3, 2006 Thank you for sleep command..didnt know what it does
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