What i wanted to know if its possible to move the mouse 10 pixels down and 10 pixels to the left in each value and in every loop withouth having to do it mannually. Is this possible?Let>x=0
Let>y=0
Let>x1=150
Let>y1=0
wait>3
label>start
Let>loop_count=0
Repeat>loop_count
mousemove>x,y
Wait>1
MouseMove>x1,y1
Wait>1
Let>loop_count=loop_count+1
Until>loop_count=10
Until>loop_count
Repeat>loop_count
mousemove>x,y
Wait>1
MouseMove>x1,y1
Wait>1
Let>loop_count=loop_count+1
Until>loop_count=10
Until>loop_count
Goto>start
label>end
Is this possible?
Moderators: JRL, Dorian (MJT support)
Is this possible?
Hello and thanks in advance.I wanted to know if this is possible.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1417
- Joined: Sun Nov 03, 2002 3:19 am
Re: Is this possible?
Yes, although I can't figure out why you want to do this. Once edited, it seems to do the same thing in two different loops, and then go back to the start again. You needed to reset loop_count (or use a different variable, and you had Until twice for each loop. Edited version below.
If that isn't what you were trying to do, please let us know and we'll be happy to guide you.
If that isn't what you were trying to do, please let us know and we'll be happy to guide you.
Code: Select all
Let>x=0
Let>y=0
Let>x1=150
Let>y1=0
wait>3
label>start
Let>loop_count=0
Repeat>loop_count
mousemove>x,y
Wait>1
MouseMove>x1,y1
Wait>1
Let>loop_count=loop_count+1
Until>loop_count=10
Let>loop_count=0
Repeat>loop_count
mousemove>x,y
Wait>1
MouseMove>x1,y1
Wait>1
Let>loop_count=loop_count+1
Until>loop_count=10
Goto>start
label>end