Yesterday night, I had put some big files for download. I needed a simple shutdown scheduler. Although I can enter the terminal command shutdown and enter the seconds to shutdown, I thought to do it using Keyboard Maestro in a much more elegant way.
Good macro. Generally you should not use a Typed String trigger for a macro that does not need a text context to type in to since the temptation would be to type it in the Finder for example, and then the deletes that Keyboard Maestro sends could do bad things.
This strikes me as the sort of macro that would be ideally suited to a Status Menu trigger, since “Shutdown After…” is exactly the kind of thing you’d expect to have in a menu.
The AppleScript has a delay of potentially several hours. Have you tested if this works reliably?
I have never used a script which such a long delay, and I can imagine that chances are good that it gets interrupted or that it hangs for some (unpredictable) reason.
I everytime use string triggers. So far, no problems for me. If anything accidentally happens, there’s CMD+Z. I’m too lazy to remember the shortcuts. The strings are easy on my hands and brain.
The status-bar idea seems great! I use Bartender so failed to think about it.
I just set up one. Working great. With this, I need not remember exact string. Just got my hands on Keyboard Maestro 15 days ago. Thanks for introducing me this action.