Multiclick macro in a palette

The macro below opens my palettes (global and/or app specific. And in these palettes I then insert individual macros.