-
AHK problem
Hi all,
Am doing some dual-boxing - all going fine so far with no real problems.
Only minor thing however is with my AHK script for handling the 'r' key (I use r to force my slave (a hunter) to step backwards - need to be able to hold it so i can manouver(sp?) him)
I currently have;
Code:
~r::
IfWinActive, World of Warcraft
{
ControlSend, , {r Down}, ahk_id %wowid1%
ControlSend, , {r Down}, ahk_id %wowid2%
}
Return
~r Up::
IfWinActive, World of Warcraft
{
ControlSend, , {r Up}, ahk_id %wowid1%
ControlSend, , {r Up}, ahk_id %wowid2%
}
Return
However, this always gives a double hit in the active window (if I'm typing something, it always comes up with a 'rr' not 'r'). Any thoughts on how to get round this?
Thanks
-
Hi there Shanks, welcome to the forums!
I'm not actually going to be able to answer your question as I don't use AHK; because when I starting to multibox, I looked at the AHK configuration file and cried. ;(
But I can give you some suggestions for some alternatives that I think are easier to configure, should you be willing to try them out.
Keyclone - This has some minor costs associated with it, but comes with a lot of useful features for wow and there is an abundant of information available on how to configure it. The author of keyclone is active on these forums.
HotKeyNet - This one is currently free, also has a lot of useful features for wow, and the author is active on these forums as well.
I personally use HotKeyNet - there is a quick start guide , some rules for wow and a wow forum .
In HKN you label your World of Warcraft windows, so label your main window, MainWow and your hunter's window, HunterWow.
To get your r key to work so that your hunter steps backward (hold r down) you would use the following:
Code:
<HoldDownKey r>
<PassThrough>
<SendLabel HuntersWow>
IMHO 3 lines > 15 lines of code ;)
Anyway, if you have already evaluated these two options and chose AHK, I'm sorry for wasting your time.
As an aside; I'd say you posted this question in the wrong forum; you probably should have posted it in, New Multiboxers & Support .
Good luck with your multiboxing adventures...
-
RE: AHK problem
Code:
~r::
IfWinActive, World of Warcraft
{
ControlSend, , r, ahk_id %wowid1%
ControlSend, , r, ahk_id %wowid2%
}
Return
That works for me.
-
You need something like this:
Required at top of script for the code in the next section (or modify the "r" key section to fit your initialization):
Code:
WinGet, wowid, List, World of Warcraft
WinActivate, ahk_id %wowid1%
WinActivate, ahk_id %wowid2%
The "r" key.
Code:
~r::
IfWinActive, World of Warcraft
{
ControlSend, , {r Down}, ahk_id %wowid1%
ControlSend, , {r Down}, ahk_id %wowid2%
}
Return
~r Up::
IfWinActive, World of Warcraft
{
ControlSend, , {r Up}, ahk_id %wowid1%
ControlSend, , {r Up}, ahk_id %wowid2%
}
Return