ControlClick and Controlsend.

A little bug 1. you can't send f1-f10 with controlsend, so use controlclick right on the boxes. And for move (left click on map) you can't go past Y coord 626 or nothing will happen. Other than those works perfect. You'll like it B)
Also, use NAPos in controlclick and ControlSetDelay to -1 so no interference and your minimized window will act like a little baby and behave, never pop up on the screen on its own no matter what
hopefully this will help you