Hello all. I want to create a macro so I can quickly check new email messages in Airmail and then hide Airmail when I press space bar.
When I trigger the macro, Airmail emerges from the dock very slowly, maybe 3-4 seconds, then takes another 4-5 seconds to refresh email previews.
Is this the best approach?
Also, what's the best way to allow me to choose to either a) continue the macro and hide Airmail by pressing space bar, or b) quit macro by pressing escape?
Peter, I’ve never heard of that. The page you linked was about slow minimize, NOT slow unminimize. I’ve tried this manually, and clicking on an app in the Dock while holding down the SHIFT key does NOT cause a slow activate.
IAC, why would the KM trigger have any effect on this?
But for that to happen you have to continue to hold down the SHIFT key.
I just tested this with an Outlook window I had minimized. I clicked on the Window menu, held down the SHIFT key, and clicked on the minimized window. But I immediately released the SHIFT key, and the window unminimized normally.
So, if I trigger a KM macro with a SHIFT key and immediately release it, the KM Action to activate (unminimize) the app should work normally.
Sure, but people are often slow to release the modifiers. They release the key quickly (it is tapped), but the modifiers are often held down for a significant amount of time.
An alternative is to add a Pause Until the modifier Shift is Release action. So the action will wait for you to release the Shift key and then activate the application. If you release the shift key quickly, then all is good, and if not, it will patiently wait for you to release it and then open activate the application.