mdsjohna
03-03-2010, 11:58 AM
I have the follow script running to broadcast key stroke for my brand new attempt at dual boxing. I am running into two problems. One is the keys I have listed here will go two times into chat. So when I press e it types as ee in the chat window. The other one is the mouse buttons which is supposed to be xbutton1, xbutton2 and mbutton. Don't act like the mouse buttons they end up sitting me down opening maps and other such stuff. It is like they are acting as the x button and the m button repectivly. The e q 1 2 etc buttons do broadcast but the chat issue is annoying. I do have a post in on the website for this program but as I admit I am impatiant and I haven't got a responsive in a day I was wondering if anyone here had any advice on this program or just general advice. A easy to use but semi basic free progam is what I need because I am just starting out and don't want to get too deep incase I decide not to keep going with it.
Thanks in advance
WinGet, wowid, List, World of Warcraft
~q::
KeyWait q
IfWinActive, World of Warcraft
{
ControlSend,, q, ahk_id %wowid1%
ControlSend,, q, ahk_id %wowid2%
Return
}
~e::
KeyWait e
IfWinActive, World of Warcraft
{
ControlSend,, e, ahk_id %wowid1%
ControlSend,, e, ahk_id %wowid2%
Return
}
~xButton1::
KeyWait xButton1
IfWinActive, World of Warcraft
{
ControlSend,, xButton1, ahk_id %wowid1%
ControlSend,, xButton1, ahk_id %wowid2%
Return
}
~xButton2::
KeyWait xButton2
IfWinActive, World of Warcraft
{
ControlSend,, xButton2, ahk_id %wowid1%
ControlSend,, xButton2, ahk_id %wowid2%
Return
}
~mButton::
KeyWait mButton
IfWinActive, World of Warcraft
{
ControlSend,, mButton, ahk_id %wowid1%
ControlSend,, mButton, ahk_id %wowid2%
Return
}
~1::
KeyWait 1
IfWinActive, World of Warcraft
{
ControlSend,, 1, ahk_id %wowid1%
ControlSend,, 1, ahk_id %wowid2%
Return
}
~2::
KeyWait 2
IfWinActive, World of Warcraft
{
ControlSend,, 2, ahk_id %wowid1%
ControlSend,, 2, ahk_id %wowid2%
Return
}
~3::
KeyWait 3
IfWinActive, World of Warcraft
{
ControlSend,, 3, ahk_id %wowid1%
ControlSend,, 3, ahk_id %wowid2%
Return
}
~4::
KeyWait 4
IfWinActive, World of Warcraft
{
ControlSend,, 4, ahk_id %wowid1%
ControlSend,, 4, ahk_id %wowid2%
Return
}
Thanks in advance
WinGet, wowid, List, World of Warcraft
~q::
KeyWait q
IfWinActive, World of Warcraft
{
ControlSend,, q, ahk_id %wowid1%
ControlSend,, q, ahk_id %wowid2%
Return
}
~e::
KeyWait e
IfWinActive, World of Warcraft
{
ControlSend,, e, ahk_id %wowid1%
ControlSend,, e, ahk_id %wowid2%
Return
}
~xButton1::
KeyWait xButton1
IfWinActive, World of Warcraft
{
ControlSend,, xButton1, ahk_id %wowid1%
ControlSend,, xButton1, ahk_id %wowid2%
Return
}
~xButton2::
KeyWait xButton2
IfWinActive, World of Warcraft
{
ControlSend,, xButton2, ahk_id %wowid1%
ControlSend,, xButton2, ahk_id %wowid2%
Return
}
~mButton::
KeyWait mButton
IfWinActive, World of Warcraft
{
ControlSend,, mButton, ahk_id %wowid1%
ControlSend,, mButton, ahk_id %wowid2%
Return
}
~1::
KeyWait 1
IfWinActive, World of Warcraft
{
ControlSend,, 1, ahk_id %wowid1%
ControlSend,, 1, ahk_id %wowid2%
Return
}
~2::
KeyWait 2
IfWinActive, World of Warcraft
{
ControlSend,, 2, ahk_id %wowid1%
ControlSend,, 2, ahk_id %wowid2%
Return
}
~3::
KeyWait 3
IfWinActive, World of Warcraft
{
ControlSend,, 3, ahk_id %wowid1%
ControlSend,, 3, ahk_id %wowid2%
Return
}
~4::
KeyWait 4
IfWinActive, World of Warcraft
{
ControlSend,, 4, ahk_id %wowid1%
ControlSend,, 4, ahk_id %wowid2%
Return
}