How to toggle 2 actions (not simple menu items)?

I have used this technique before and find it interesting that if one uses if-then instead of switch, rapid triggering of the macro can result in unpredictable results, unless a semaphore lock is added to the start of the macro. I suppose this is simply because if-then is a lot slower than switch.

1 Like