Close all palettes at once by macro

I offen open 5 or more macro palettes, because I frequently use them for nearly everything.
But to close them seems to be sometimes really hard (when not "show for one action" is the condition (in this case ESC does the job)).
Is there a way, to close 5 or more macro palettes at once?