Jump to content



Recommended Posts

Thanks that worked great!!

A little off topic here but i was wondering how u could loop something but stop the loop at a certain time in its loop

Like if it has loop'ed 7 times stop n do something else

(type in hello loop it 7 times, end the loop and do something else)

I am sorry if this sounds stupid but i am new and i am probably overlooking it somewhere in the help file..


Edited by BotTr
Link to comment
Share on other sites

$XY = MouseGetPos()
$count = 0
While $XY[0] <> 10 And $XY[1] <> 10
    $XY = MouseGetPos()
    $count = $count + 1
    If $count = 10 Then MsgBox(4096,"", "Do something...")

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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

  • Recently Browsing   0 members

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