Show/hide multiple Tool Windows simultaneously

I am trying to have a single shortcut to show/hide multiple tool windows. Is there a way to accomplish this?

The keymap help says that:

Although you can ignore conflict and bind a shortcut with several actions, it is strictly recommended to avoid binding two actions with the same shortcut, because the order of performing such actions is not defined.

Which would be fine in this case, except that it doesn't seem to work. Only the first bound action is performed and the second is ignored.

Is there any way to accomplish this, or do i have to assign multiple keys and just learn to live with that?

I can assign some weird keystrokes to each and create two macros and assign those to the desired shortcuts for show and hide.
ShowTools: K1, K2
HideTools: K1,K1, K2, K2
But it seems like a "hack-ish" way to do it and i also don't find a way to do it with a single shortcut.

Please sign in to leave a comment.