jimbobmctoot Posted December 4, 2005 Posted December 4, 2005 As in title a complete useless mess at this type of thing what im aiming for is a script that pauses 5 seconds double left clicks at spot mouse cursor is over pauses 45 secs double left clicks at spot mouse cursor is over pauses 2 secs repeats in infinate loop i can do the mouse clicking and pausing side of thing but cant find how on earth u loop it
Somerset Posted December 4, 2005 Posted December 4, 2005 do .... until for .... next while .... wend look in the help file for these.
Zithen Posted December 4, 2005 Posted December 4, 2005 aye what beerman said... i person like to use while loops While 1 $x = $x +1 ToolTip($x) WEnd
Moderators SmOke_N Posted December 4, 2005 Moderators Posted December 4, 2005 Opt("MouseCoordMode", 0) While 1 Sleep(5000) $coord = MouseGetPos() MouseClick('left', $coord[0], $coord[1], 2, 1) Sleep(45000) $coord = MouseGetPos() MouseClick('left', $coord[0], $coord[1], 2, 1) Sleep(2000); Kind of useless, the first sleep should be 7 seconds Wend Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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