How to make macro to run on first time logging in during the day

I want to make a simple macro that looks like this:

26

However I want to make it run only on the first login during the day which usually happens between 6:00 AM and 9AM.

I am not sure how I can do it if I can.

Well, there are several methods that might work.
There are just some untested ideas:

  1. Use an IF/THEN action: IF Trello is NOT running. . .
  2. Check a global variable Last_Login that is the date/time the macro was last run
    • IF (Current Date is > Last_Login OR Last_Login is empty)
      AND Current Time < 9:00 am;
      THEN
      • Set Last_Login to current date/time
      • Run your other Actions

There are probably other methods.
Good luck and let us know if any of these work for you.