Basic Repeat question

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Visitor

Basic Repeat question

Post by Visitor » Sun Sep 12, 2004 12:13 am

Hi. I've used Macro Scheduler for basic tasks like recording and such, but never experimented it any further.

Lately, I've been trying to learn more about what its got to offer and started playing with scripts.

But I just can't get a simple repeat to work as I would like.

Here is my test script:

Let>k=0
Repeat>k
Let>k=k+1
Message>k
Until>k, 10

What I want to do: Pop up a box with k from 0 to 10.
What it does: I get into an infinite loop.

I don't understand the Until Syntax. The example in the test file states:
"Until>k,file_names_count"
I thought that files_names_count is a number, and that I could just put in a static number. But it doesn't seem to work that way.

Visitor

Post by Visitor » Sun Sep 12, 2004 12:41 am

Woa, found out where the problem is..
Its the space!

I had Until>k,[space]10 and Macro Scheduler didn't like that :lol:

My apologies, please close this thread if necessary :)

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