I have created a macro for myself so I can with one keybind close all open windows and reset my action bars and focus. I find this very handy but the reason I created the macro is to be able to clear everything if I get attacked by something or someone. It works perfectly out of combat but does not work while I am being attacked and I have my map open? Andy ideas?
Close All Macro:
/swapactionbar 1 1