Hello,

I'm having a hell of a time figuring this out. I am dual-boxing wow and I would like for my 4th and 5th mouse buttons to clone from one screen to the other as I have them used in keybindings with make my game play much smoother. Basically I found this script and the last part is what I can't get working. This isn't the whole thing, just an example to get you going. Hopefully I am just missing something stupid.

Thanks.

Code:
#IfWinActive, World of Warcraft 
~1:: 
ControlSend,,{1 down}{1 up}, ahk_id %idMain% 
ControlSend,,{= down}{= up}, ahk_id %idClone% 
ControlSend,,{1 down}{1 up}, ahk_id %idClone% 
return 

#IfWinActive, World of Warcraft 
~XButton2:: 
ControlClick,, ahk_id %idMain%,, X2
ControlSend,,{= down}{= up}, ahk_id %idClone% 
ControlClick,, ahk_id %idClone%,, X2 
return
I guess I could use a workaround:
Set keybindings on the Clone window to F5 and F4 and have XButton2 and XButton1 send those keyboard keys.

Code:
#IfWinActive, World of Warcraft 
~X2:: 
ControlSend,,{XButton2 down}{XButton2 up}, ahk_id %idMain% 
ControlSend,,{= down}{= up}, ahk_id %idClone% 
ControlSend,,{F5 down}{F5 up}, ahk_id %idClone% 
return
Although I don't know if this scripts theory is correct as I don't have the means to test it at the moment.

Also, do I need the ControlSend for the main window? If I were to remove that would it not still send that command to my Main as well as send the keystroke to the Clone?