I figure with practice I can right click in the second window and get my second multi-box toon to loot and skin. Just gotta know where to click.

I'm newb on the syntax, so all help is appreciated.

I want to send the right click at the cursor coordinates to the other (not active) WoW window when I middle click.

Can anyone help me getting it to work?



Mbutton::
{
IfWinActive, ahk_id %WowWinId1%
ControlClick, Pos, ahk_id %WowWinId2%, RIGHT
IfWinActive, ahk_id %WowWinId2%
ControlClick, Pos, ahk_id %WowWinId1%, RIGHT
}