hcour Posted September 28, 2014 Report Share Posted September 28, 2014 What would be the best way to do this: Macro 1 plays an alarm once at 90 minutes. Then it does not start the 90 minute countdown again until Macro 2 completes. Macro 2 would be independent of Macro 1 and is triggered by a hotkey. Thanks! Quote Link to comment Share on other sites More sharing options...
rberq Posted September 28, 2014 Report Share Posted September 28, 2014 [Additional] Macro 3 runs at ME startup, stores date and time in an environment variable. Macro 2 runs on hot-key, does its thing, then stores date and time in [the same] environment variable. Macro 1 runs every 1 minute or 5 minutes or whatever, depending how precise you want the 90 minute alert interval to be. When it runs, Macro 1 checks current date and time against the stored value. If 90 minutes have passed, sound the alarm and store a high future date and time in the environment variable. If ninety minutes have not passed, just exit from Macro 1 with no further action. Quote Link to comment Share on other sites More sharing options...
hcour Posted September 28, 2014 Author Report Share Posted September 28, 2014 I will give that a try. Thanks much. Quote Link to comment Share on other sites More sharing options...
Samrae Posted September 29, 2014 Report Share Posted September 29, 2014 This might work: Put a Macro Disable (of Macro 1) command at the end of Macro 1. Put a Macro Enable (of Macro 1) command at the end of Macro 2. Quote Link to comment Share on other sites More sharing options...
hcour Posted October 4, 2014 Author Report Share Posted October 4, 2014 Thanks Samrae. That works. Much easier for me as working with the variables turned out to be a bit beyond my skills at this point. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.