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]
Loop
Moderators: Dorian (MJT support), JRL
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
Ernest
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
...