Are you sure that AutoHotKey can work in backgound aplication? I thought that Winactive function is just "if clause." E.g. If you want a script which work only in concrete application and if you switch to other the script wouldnt work.
Other problem is multibox because names of windows are the...