Repeat a macro every 15 minutes

VISHAL.VODRO

New member
Hi!

New here.

Before I could post my query, I tried searching in the forum. But didn't actually get the satisfactory result, hence asking here.

I want a macro to run every specific minutes, say 15 minutes from the time the macro starts. And never stops until manually.

How to do that?
 

VISHAL.VODRO

New member
I'm now trying to run this macro only for 45 minutes every hour daily.

Like, it'll start at 00:15 and end at 00:45, again at 01:15 till 01-45 and it'll go on till 23:15 to 23:45 in a day throughout.

Tried adding such timing in constraints. But doesn't seem to be working!

Any other way around?
 

Dm114

Well-known member
I'm now trying to run this macro only for 45 minutes every hour daily.

Like, it'll start at 00:15 and end at 00:45, again at 01:15 till 01-45 and it'll go on till 23:15 to 23:45 in a day throughout.

Tried adding such timing in constraints. But doesn't seem to be working!

Any other way around?
It's not a matter of Constraints but a matter of Triggers.

Set Trigger1 every hour starting at 00:15 and run actions you need to execute.
Set Trigger2 every hour starting at 00:45 to Cancel current running macro.
 

VISHAL.VODRO

New member
It's not a matter of Constraints but a matter of Triggers.

Set Trigger1 every hour starting at 00:15 and run actions you need to execute.
Set Trigger2 every hour starting at 00:45 to Cancel current running macro.
So like this I'll have to set 48 triggers? Like wise each hour 2 triggers as you explained!

Actually my program is that, I want my mobile to speak time each 15 minutes. And each hour it'll just ring a bell (no speech when it's an hour).
 

Dm114

Well-known member
So like this I'll have to set 48 triggers? Like wise each hour 2 triggers as you explained!

Actually my program is that, I want my mobile to speak time each 15 minutes. And each hour it'll just ring a bell (no speech when it's an hour).
I misunderstood your need.

Of course don't set 48 triggers. 😀

You could use 1 unique trigger every 15 minutes and starting at 00:00

Then you test whether it is a peak hour or not and do what you have to do according to the time.

Don't forget that such triggers may not fire in certain circumstances (macro disabled or busy, MD or system mess at this time...)
 

VISHAL.VODRO

New member
Now you're talking, the approach changes when you mention a new information.


A single trigger should do the job. You just have to put a new if clause logic.

If compare values {minute} = 0

ring

else

speak text

end if
This one seemed to be the easiest way that I could get the job done!

Thanks a lot for the superb solution...

It's working so far as expected...
 
Top