Whats happening with yer script with the e's is when yeh hit the key it sends it to wow then yeh have yer script send it to yer wow's therefore what ever yeh have in the fore ground gets 2 e's.
CAnt see a reason why it should go to chat dont maybe missing that part figure yeh didnt add yer whole script.
for sending mouse clicks maybe look into http://www.autohotkey.com/docs/commands/Send.htm I never use mouse click for sending things to my other wows I use them for movement.
This will work for any amounts of WOW instances and is much easier to tweak and adds things to
Code:
clonepush(strkey)
{
global winid
Loop %winid%
{
tmp:=winid%A_Index%
IfWinNotActive, ahk_id %tmp%
ControlSend, ,%strkey%, ahk_id %tmp%
}
sleep 1
}
WinGet, winid, List, World of Warcraft
;******** this part for all the keys ************
#IfWinActive, World of Warcraft
; *******************
; *** Hotbars keys 1-0 ***
; *******************
~1::clonepush("{1 down}{1 up}")
~2::clonepush("{2 down}{2 up}")
~3::clonepush("{3 down}{3 up}")
~4::clonepush("{4 down}{4 up}")
~5::clonepush("{5 down}{5 up}")
~6::clonepush("{6 down}{6 up}")
~7::clonepush("{7 down}{7 up}")
~8::clonepush("{8 down}{8 up}")
~9::clonepush("{9 down}{9 up}")
~0::clonepush("{0 down}{0 up}")
~-::clonepush("{- down}{- up}")
~=::clonepush("{= down}{= up}")
Connect With Us