Loop

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
whorff

Loop

Post by whorff » Fri Dec 13, 2002 4:02 pm

I have a macro that unzips a file, it starts at 2:00 in the morning.
I was hoping to create a loop that would look for the file and if it is not their yet, wait 30 minutes, then start again. Also I would like to end the loop at 4:00 am.
But it does not seem to recognize the If Statement, do I need to do something different to the variable?
Is their a better way?

What I was trying:
Label>Start
IfFileExists>Myfile,Continue
Hour>TheHour
If Thehour=4,End(04???)
Wait>6000
Goto>Start
Label>Continue

Label>End

Thanks,
Frank
email is [email protected]

Ernest

Post by Ernest » Fri Dec 13, 2002 6:44 pm

Hi whorff/Frank,

1. where's the ending ">" of the if command?
2. cause i can't see it in the code, is there any Label named "End(04???)" ???
3. 1 min = 60sec*30 = 1800 sec = 30 min. Why 6000 :?:

Code: Select all

...
If>Thehour=4,End
Wait>1800
...
Ernest

whorff

Post by whorff » Fri Dec 13, 2002 7:25 pm

Thanks!!! Ernest, it was the if it should have been if>

Happy Holidays,
Frank

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