The /facepalm was because there were 2 posts saying that addons activating macros isn't possible, because it could also be used to automate actions. You then went on to suggest there may be another way to have an addon influence a macro by a different method. However, that could also be used for automation. You didn't put 2 and 2 together and see that what applies to the first case also applies to the 2nd.
Before saying 'This might be a way to do X.', think 'Could this be used in any way for automation?'. If the answer is yes, then someone will have tried it, and Blizzard will have patched it out, if they hadn't already thought of it themselves.
I'm just as deserving of a /facepalm for not working out how it could be prevented. Simply by locking macros during combat (how does that apply to the extended/internal macro systems used by some addons?).
Connect With Us