Devtones
10-27-2010, 05:36 AM
Hey Dual-Boxing pals, it's me again...
First of all, I wanna explain you my current situation. Im more or less tryin to dual boxing. So I don't wanna buy some expensive software ore even more expensive hardware.
I will dual box with my common home PC. Also I will only box with two different accounts (in fact I just wanna level as fast as possible to level 60).
In case of this I've downloaded AutoHotkey and studied some tutorials on certain websites. With the help of this sites and dual-boxing.com I've created my first script. Once again I dont wanna tell your ears bleedin. My question is: Can someone of you look at my script and tell me the mistakes I've done? I dont tested this script because im actually on my work and will come back home in more than 5 hours -.- But it would be nice if someone can tell me, if there are mistakes in my first script.
ClonesPush(strKeys)
{
global WowWinId1
global WowWinId2
IfWinNotActive, ahk_id %WowWinId1%
ControlSend, , %strKeys%, ahk_id %WowWinId1%
IfWinNotActive, ahk_id %WowWinId2%
ControlSend, , %strKeys%, ahk_id %WowWinId2%
}
;Grab unique window ID's
WinGet, WowWinId, List, World of Warcraft
; *** Only if WoW is in focus ***
#IfWinActive, World of Warcraft
^=::ClonesPush("{= down}{= up}")
~Space::ClonesPush("{Space down}{Space up}")
~Enter::Suspend, Toggle
~/::Suspend, On
~Escape::Suspend, Off
~1::ClonesPush("{1 down}{1 up}")
~2::ClonesPush("{2 down}{2 up}")
~3::ClonesPush("{3 down}{3 up}")
~4::ClonesPush("{4 down}{4 up}")
~5::ClonesPush("{5 down}{5 up}")
~6::ClonesPush("{6 down}{6 up}")
~7::ClonesPush("{7 down}{7 up}")
~8::ClonesPush("{8 down}{8 up}")
~9::ClonesPush("{9 down}{9 up}")
~0::ClonesPush("{0 down}{0 up}")
~E::ClonesPush("{E down}{E up}")
~R::ClonesPush("{R down}{R up}")
~Q::ClonesPush("{Q down}{Q up}")
W::ClonesPush("{Up down}")
W Up::ClonesPush("{Up up}")
S::ClonesPush("{Down down}")
S Up::ClonesPush("{Down up}")
A::ClonesPush("{Left down}")
A Up::ClonesPush("{Left up}")
D::ClonesPush("{Right down}")
D Up::ClonesPush("{Right up}")
Oh, and just before I forget it. Wich mark or number did I use for ALT? I mean like modifier ALT and 1 ore modifier ALT and E or something like this as keybinding. I didnt find some help in the wiki-tutorial :(
Thx for your help.
Greetz
Devtones
First of all, I wanna explain you my current situation. Im more or less tryin to dual boxing. So I don't wanna buy some expensive software ore even more expensive hardware.
I will dual box with my common home PC. Also I will only box with two different accounts (in fact I just wanna level as fast as possible to level 60).
In case of this I've downloaded AutoHotkey and studied some tutorials on certain websites. With the help of this sites and dual-boxing.com I've created my first script. Once again I dont wanna tell your ears bleedin. My question is: Can someone of you look at my script and tell me the mistakes I've done? I dont tested this script because im actually on my work and will come back home in more than 5 hours -.- But it would be nice if someone can tell me, if there are mistakes in my first script.
ClonesPush(strKeys)
{
global WowWinId1
global WowWinId2
IfWinNotActive, ahk_id %WowWinId1%
ControlSend, , %strKeys%, ahk_id %WowWinId1%
IfWinNotActive, ahk_id %WowWinId2%
ControlSend, , %strKeys%, ahk_id %WowWinId2%
}
;Grab unique window ID's
WinGet, WowWinId, List, World of Warcraft
; *** Only if WoW is in focus ***
#IfWinActive, World of Warcraft
^=::ClonesPush("{= down}{= up}")
~Space::ClonesPush("{Space down}{Space up}")
~Enter::Suspend, Toggle
~/::Suspend, On
~Escape::Suspend, Off
~1::ClonesPush("{1 down}{1 up}")
~2::ClonesPush("{2 down}{2 up}")
~3::ClonesPush("{3 down}{3 up}")
~4::ClonesPush("{4 down}{4 up}")
~5::ClonesPush("{5 down}{5 up}")
~6::ClonesPush("{6 down}{6 up}")
~7::ClonesPush("{7 down}{7 up}")
~8::ClonesPush("{8 down}{8 up}")
~9::ClonesPush("{9 down}{9 up}")
~0::ClonesPush("{0 down}{0 up}")
~E::ClonesPush("{E down}{E up}")
~R::ClonesPush("{R down}{R up}")
~Q::ClonesPush("{Q down}{Q up}")
W::ClonesPush("{Up down}")
W Up::ClonesPush("{Up up}")
S::ClonesPush("{Down down}")
S Up::ClonesPush("{Down up}")
A::ClonesPush("{Left down}")
A Up::ClonesPush("{Left up}")
D::ClonesPush("{Right down}")
D Up::ClonesPush("{Right up}")
Oh, and just before I forget it. Wich mark or number did I use for ALT? I mean like modifier ALT and 1 ore modifier ALT and E or something like this as keybinding. I didnt find some help in the wiki-tutorial :(
Thx for your help.
Greetz
Devtones