EDIT: Meh.
This seems to work just fine...Dunno what I did wrong last time o.O

[code:1]~Numpad0::ControlSend, , {Numpad0 Down}, ahk_id %idClone%
~Numpad0 Up::ControlSend, , {Numpad0 Up}, ahk_id %idClone% [/code:1]


Hello.

I have this problem with ahk. Currently I'm testing with two computers: a normal desktop pc and a laptop. I'm running two wow clients on both of them so I have four characters now. Main character is A which ofcourse runs on my primary computer. On the same computer is also other char which is B. Char C is fullscreen client on my laptop and D is minimized client. I'm using Synergy/Multibox (both of them seems to work exactly the same in WoW) to broadcast my keys from desktop pc to laptop. So A and C which are on fullscreen work just fine but B and D causes some problems.

I've been searching some scripts from this forum but no matter which one I use it does not work properly. For example I have Frost Armor binded to "1". When I hold 1 down on my keyboard B and D casts their frost armor instantly and keep casting it as long as the button is hold down. A and C in the other hand cast it only after the button is released, which is ofcourse how it should work. So the problem is that ahk keeps spamming the button up and down as long as I keep it pressed down. Any ideas?

The scripts I've tested this with:

[code:1]~1::
ControlSend, , {1 Down}, ahk_id %idClone%
~1 Up::
ControlSend, , {1 Up}, ahk_id %idClone%
[/code:1]
[code:1]#IfWinActive, World of Warcraft
~2::
;ControlSend,, {1 down}, ahk_id %idMain%
ControlSend,, {1 down}, ahk_id %idClone%
KeyWait, 2
;ControlSend,, {1 up}, ahk_id %idMain%
ControlSend,, {1 up}, ahk_id %idClone%
Return[/code:1]
[code:1]#IfWinActive, World of Warcraft
~1::
ControlSend,,{1 down}{1 up}, ahk_id %idClone%
return [/code:1]