For some reason, when I show/hide a palette for a macro group, it also activate/deactivates the group.
I'm attaching the test macros below.
Every trigger has control as a modifier.
Toggle Test Group
a: make active
i: make inactive
s: show palette
h: hide palette
e: enable
d: disable
Toggle Test Target Group
1: speak 1
2: speak 2
3: speak 3
After showing/hiding the palette for target group using control+s and then control+h, if you press control+1-3, the macros don't work until you reactivate the group with control+a.
Here are the macros.
Toggle Test.kmmacros (13.2 KB)
Thanks!
Hey again @Chi,
This is the standard, expected behavior for showing and hiding palettes. By default, when a palette for a macro group is hidden, it will also deactivate the group. If you still want to use a setup like this with palettes (though maybe not, now that I’ve showed you how to consistently activate and deactivate macros and macro groups without them?) and ensure that hiding the palette doesn’t deactivate the group, make sure that the macro/group to be toggled (Toggle Test Target, in this case) is set to
•Available in all applications
•Available in all windows
•Activated/deactivated when:
then add an “Activate macro/macro group” action to the “Hide” macro to ensure that the group is re-activated after the palette is hidden. Once you do this, showing and hiding the palette will no longer deactivate the macros, but activating and deactivating them without involving a palette will still work as expected.
Thanks @gglick for clarification! I see activating the group after hiding the palette will definitely fix it.
I was wondering if getting deactivated when hiding was expected behavior.