I’ve been using Cntl -A to bring the application Airmail to the foreground and hide with the Activate a Specific Application macro. If Airmail if the front-mayst application then Cntl-A will hide Airmail. The “hide” feature not longer works. Hide works for other applications but not Airmail.
Yes - I have many of these to switch to specific applications - I use Cntl and A, D, Q, W, E, P, N, B, X, Z and they all work except the Cntl-A for Airmail. It’s the damnedest thing.
I just tried Cntl-L and the same thing happens.
Just to be clear, if Airmail was hidden or a background application, either Cntl-A or Cntl-L would bring it to the front-most application. If I type Cntl-A again, Airmail does not hide and I get a message saying the macro timed out.
I use Cntl-Q (legacy command for Quickmail from a long time ago) for Mail.app and KM both brings mail to the front and then hides Mail. It seems like it’s just Airmail and it’s not a big deal. Command-H does hide Airmail so I think I’m going to redefine some things so it will appear to work but it will be two commands.
When I updated to Airmail 3 the name of the app bundle (in the Finder) remained “Airmail 2”. But the app that gets launched when I launch Airmail 2.app is definitely Airmail 3.
In the info.plist the bundle identifier is still it.bloop.airmail2 whereas the CFBundleName is Airmail 3. Also the executable is named Airmail 3. The process name is just Airmail.
It could be (just speculating!) that KM uses different methods for launching/activating an app on one side, and for hiding an app on the other side.
So, maybe, it launches/activates the app successfully by its bundle identifier or by the name of the app bundle. Then, for hiding, it is looking for Airmail 2 but can’t find it, because it’s Airmail 3 that is running (or by process name just Airmail).
That’s the only —very vague— explication approach that occurs to me. And it doesn’t explain why it doesn’t work for you while it works for me.
If the application itself has been updated or changed, one thing to try would be to select a different application in the action, quite and relaunch the Keyboard Maestro editor, and then select Airmail again - it is possible it is referring to an old version or the like (but the two versions are close enough that some things work).