Automate Your Week Using Keyboard Maestro Time Triggers

A to-do list is great for managing tasks, but automating your to-do list is better with Keyboard Maestro timed triggers.

I use to-do lists not just because they remind me of tasks, but because  they also allow me to get reminders out of my head so I don’t have to think about them until they need to get done. But sometimes, digital reminder applications don’t go far enough. A task management application can issue a notification or alert, but that’s where it stops.

Since a lot of the tasks we perform are on our computer, it’s better if we can get more than a notification. That’s where Keyboard Maestro’s Time Triggers come in. The grandaddy of automation programs can  trigger timed  macros that open designated webpages, files and folders, and  launch applications based on specified times and days of the week. Time triggers work in the background, as long is your computer is awake.

(Here’s an introduction to Keyboard Maestro, if you’re new to the program.)

Timed Triggers

A few of the timed triggers I use include downloading a set of webpages and applications at designated days and times. For instance, every Monday and Wednesday at 10:30 a.m.,  KM triggers a macro that opens my Mint.com application. Since I started using this KM macro at the beginning of the year, I have been very  consistent about checking and correcting mistakes in my personal finance transactions in my Mint account. This is what the macro consists of:

timed_trigger_macro

When you add a new timed trigger to a macro, all the days will be highlighted. You will need to deselect the days you don’t want the trigger to execute.

trigger_macro

Typically I’m working at my computer by 10:30 a.m., but notice that I added a Display Text action to let me know that the macro will run in 15 seconds.

display_textThat notice will briefly appear Notifications style, and if I’m already doing something else, I can stop and get ready for the Mint application to open.

Finder Finder, Today at 1.33.28 PM

Aborting Timed Macros 

I have another timed macro that opens either of my two mail applications on different days, as well as an application called Slack. But sometimes I’m too busy to check mail or Slack, or I have already checked them before the macros run. With those timed macros, I added an Alert action that pops up and offers the opportunity to stop or continue the execution of the timed macro.

alert_abort

This alert gives me the option to continue or cancel the timed macro.

alter_notice

By default, an Alert action times out (cancels) if you don’t click the Stop or Continue button, and nothing happens. However, in KM 7.0 you can click on the cogwheel of an action, and disable or enable the Timeout Aborts Macro for the action. (In previous the version of KM, the alert options are in the KM menu bar.)

timeout_aborts

Using this feature is great, but it might be a little confusing. If you leave the Timeout Aborts Macro checked, and you don’t click on either button in the alert, the alert will automatically abort the macro after the default time of 3 minutes. If you uncheck the Timeout Aborts Macro button, the macro by default will run after 3 minutes if you don’t check one of the alert buttons.

You can however adjust the timeout behavior by clicking on the Set Action Timeout…button (also inside the cogwheel), which will present a dialogue box for changing the default settings.

default_abort

For my timed macro, I set the alert to abort the macro after 10 seconds, because if I’m working and I don’t want to stop and click the stop button, the whole process will cancel and I can  keep focused on what I’m doing. Or I can decide to click the Continue button and deal with checking mail.

abort_ten_seconds

Setting Other Actions 

A timed macro can execute most any set of actions, including downloading a designated webpage, opening an application, shutting down your Mac or putting it to sleep, or any other workflow. Notice, in the Mint workflow above that I added a few pause actions to give KM time to activate a menu item after the Mint application is launched. That menu action saves me the trouble to clicking yet another button.

menu actions

Setting and Managing Times 

I put all my timed actions in a group folder so that I can easily locate and adjust them as needed. When I first started using timed macros, I made several adjustments to fit my daily and weekly schedule.

Keyboard Maestro Editor Keyboard Maestro, Today at 10.04.29 PM

Some actions are set to run right after my computer awakes in the morning, because  KM cannot run macros unless the computer is awake.  Notice I have a few actions that run as soon as my Mac awakes. For instance, it will activate Dragon Dictate automatically between designated times, because I use that voice command application throughout the day.

dragon dictate

I have another macro that puts my computer back to sleep if awakes after 11:00 p.m..

sleep computer macro

Conclusion

The time trigger is a powerful feature in KM, and it is one of the most easiest and straightforward setups to use. Hopefully in the future updates, there might be a way to set triggers based on designated calendar dates. It would be most helpful if task management applications Calendar could issue timed automations like KM does.

Let me know what you think of this KM feature, and how you use it or plan to use it.

 

 

  • To launch automation workflows on a calendar date and time, you could set a Calendar (or BusyCal, etc.) alarm to run a one-line AppleScript that triggers your KM macro.

    • Eurobubba, good point. Apple’s Automator used to include the same feature. It would be though faster if the date trigger were built into KM. Maybe I can figure out how to automate the process. Thanks again your tip.

    • Eurobubba, good point. Apple’s Automator used to include the same feature. It would be though faster if the date trigger were built into KM. Maybe I can figure out how to automate the process. Thanks again your tip.

  • Wow… every now and then, stumble upon an article that seems meant for me…

    I’ve been doing something along the lines of this with a timed-interval KM action that just brings my reminders list to the front of my screen (I need hyper prompting 🙂

    One issue for me is I keep getting notifications about macro cancellation… usually just when the laptop had been sleeping. Definitely not necessary info, just noise.

    I did make a point of turning off “Notify on Failure” but that doesn’t seem to have helped.

  • >
    50% OFF Black Friday Sale: BetterTouchTool Finger Gesture CourseGet Discount
    %d bloggers like this: