Do While loop

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
tigerenter
Newbie
Posts: 4
Joined: Thu Feb 01, 2007 8:34 am

Do While loop

Post by tigerenter » Thu Feb 01, 2007 8:42 am

Hi all,

can someone tell my, how i create a do while loop.
i want to do that

MOUSEMOVE>320,60

x=1
Do
{
LClick
x=x+1
wait>1
}
While (x=6)

bit how can i realise that with macro ?
thanks all:-)

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Feb 01, 2007 8:51 am

Use Repeat/Until:

Code: Select all

MouseMove>320,60
Let>x=1
Repeat>x
  LClick
  Wait>1
  Let>x=x+1
Until>x=6
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

tigerenter
Newbie
Posts: 4
Joined: Thu Feb 01, 2007 8:34 am

Post by tigerenter » Thu Feb 01, 2007 8:57 am

it works.
thanks for your help.

regards
tigerente

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts