time delayed loop?
Moderators: Dorian (MJT support), JRL
time delayed loop?
how would i make a infinite loop run 5 times then wait 5 minutes and start again? :?:is there a way to have it count how many times it has looped and then pause for a set time then restart and reset loop count?
if idiots rule the world then im the king!!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Here's one way:
Code: Select all
//initialise loop counter
Let>k=0
//the loop
Repeat>k
//increment loop counter
Let>k=k+1
..
.. do something
..
//if we've looped 5 times, wait 5 mins, then reset loop counter
If>k=5
//wait 5 mins
Wait>300
//reset loop counter
Let>k=0
Endif
Until>k=5
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?