I guess that this is because CafeTran Espresso is a Java app (that has been integrated into macOS quite well). From a previous post from @peternlewis I remember that he's no fan of Java apps on Mac and has no intentions to adapt KM in any way to facilitate Java apps. I can understand that.
So I've used the setting 'Available except in these apps:' and it works good, but the list is getting large and every new app has to be added:
It isn't that I am not a fan - it is just that Keyboard Maestro does not do anything special as far as Java applications, and so they work only as well as the system supports them. And the system is reducing support for Java apps over time, and thus they tend to work less and less well over time.
As far as this particular issue goes, I don't know why the CafeTran app does not work in this regard, and if it does not work (with the any of the various options for how to match applications), then your solution is as good as it is going to get.
ALYB,
I'm not sure why it happens on your mac. But for my case, I can confirm that it works correctly. The macro only trigger if CafeTran is active app, and ignore if other apps are active.
My question is can you try to do what I have done. Just create that group, and only activate if CafeTran is active , and just add a simple macro under that group, and trigger it while the app is active ( simple alert action can do), and check if it trigger under other apps too.
Thank you for taking the time to download the app and trying to reproduce my issue.
I have disabled my group for CafeTran Espresso, created a new one, created a test macro and guess what ... Keyboard Maestro behaves exactly as it is supposed to do (what's new ;)).
I'll move all my macros from the disabled group to the newly created one soon, and see what happens.
I'm happy to tell you that after creating a new macro group for CafeTran Espresso and setting the group to work only in this Java app, everything works as it is supposed to do.
I've moved all my macros from the old group to the new one.