Please do not give this advice, this is most likely a quick way to get someone’s account sanctioned. This could taken as streamlining which is against the Multiboxing rules.
The way they want you to do it is to click on each individual window and press your action button and then click to a different window.