[SOLVED] IF time of day is between x and y THEN show notification

I'm trying to force myself not to use certain apps while I'm working so I can stay focused.
I want to see a notification for example if I open the Mail app between, for example, 10am and 12pm.

This is not working though. Even though the current time is less than 11.00.00 I still get the "false" notification.

Mail.kmmacros (3.5 KB)

Keyboard Maestro Export

It seems that the issue was that I was using the dots.
I removed them and made some changes and now it's working:


1 Like

Yes, “<” is only applicable for numbers (which could have one dot for decimal).

1 Like