If it is not targetable, than there is no way to macro it. The only options you have are to set identical camera views and mouse broadcasting, or to suck it up and switch windows.