It's one of my macros, as it happens, and @sofiane14 messaged me to ask for help getting it working. Unfortunately we haven't been able to get past the fact that no variables seem to be stored by their KM installation. They've tried manually running a test macro that sets a single global variable; the variable viewer (prefs) shows it as blank, and that's not a problem I've encountered before.
@noiseneil thanks for the clarification. That's exactly the problem. @ccstone the TEST macro writes the variable but not Neil's macro. He didn't have this problem. And I don't see where it can come from...
No, that's not a problem; that's a feature. Open a plugin in Logic and see if the variables are written (spoiler: they will be).
What's happened here is that you've been testing variable-writing because you had permission issues. The Setup macro is designed only to run when a plugin UI is the front window. This is why I gave you a test macro.
So, long story short... Now that your permissions issues are fixed, stop checking that variables are writing and actually try the SD Switcher macro in practice.
That's what I do every time.
I open a plugin to see if it works.
It still doesn't work.
By separating the groups as @ccstone did the variables are written and when I opened logic the profile changed. (the profile still didn't switch when I opened it)
And there by making it grouped, the variables are not written the profile does not change...