I received a new MacBook from work but IT disabled Migration Assistant (!) and so, I had to do a lot of manual migration. KM macros were exported and imported. All went well (that is, all my macros are working), except my Safari Macro group. Looking at the macro, I have the following warning:
The macro group has "activation", so I am really unsure what is the problem:
Any tips on where else I should look? I have also checked all the Privacy settings to allow Accessibility.
Your macro group is active only when Safari is at the front.
In that macro group you have the macro in question, which has an Application triggered macro that is meant to trigger when Safari launches. But since the macro group is inactive until Safari is at the front, the macro will never trigger - when Safari launches, the macro is inactive, and by the time it becomes active, the trigger no longer applies (Safari has already launched).
Move the macro to a global macro group (I have a macro group specifically for Application Activations that is globally active).
It is important to understand the distinction between enabled (which the macro group is) and active (which this macro group is not until Safari is at the front).
Enabled/Disabled is controlled in the editor, and is very clear and generally semi-permanent. A Macro Group can be disabled, which implicitly disables all of its macros. And a Macro can be disabled.
Active/Inactive is a transient state, controlled by the settings in the macro group and managed by the engine. This is a transient state and there is no direct visible sign of its state. Restarting the engine would reset any activation states. A macro group must be enabled to be active. And a Macro must be enabled, and its parent macro group must be enabled and active for it to be active.
Thanks for your response, Peter. You used the word "launches" and you meant that Safari was opened for the first time, right? What if I already have Safari opened but it's not the front most window. I am using Finder now. Then I clicked on a Safari window. Safari is now the front most app. In this case, the macro should trigger, right?
What is the trigger? If the trigger is launches or activates, it will never fire if it is inside a macro group that is active only after Safari activates.