Sign in to follow this  
Followers 0
BotTr

Possible

5 posts in this topic

Ok i am wondering if it is possible to detect where you are located (x,y)

And once that has happened move to a assigned spot (x,y)

Any kind of help will be appreciated Thanks :whistle:

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

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

:whistle:

Edited by BotTr

Share this post


Link to post
Share on other sites

Its more like mouse movements, it moves fine just doesnt stop using the While function

Working on getting it to stop at a certain point

thanks for the help tho im sure it will dawn on me :whistle:

Share this post


Link to post
Share on other sites

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


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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