PDA

View Full Version : AUTOHOTKEY And moving question



crunge
08-26-2008, 04:37 PM
Currently using autohotkey and would like it to be able to move just my 2nd wow window charcacter up a bit.

Autohotkey code is

~Up
KeyWait Up
IfWinActive, World of Warcraft
{
ControlSend,, Up, ahk_id %wowid2%
Return
}

and currently have the 2nd bind key to the up arrow key, however, If I'm in the 1st window I cannot get the 2nd window to move. Any suggestions ;)

-silencer-
08-26-2008, 05:37 PM
Because AHK is just sending a quick keypress: down,up.
When you press (and hold) Up on your main, your alt gets sent:
Up for a split second, regardless of how long you hold it on your main. Your alt won't move very far.

You need to be able to just send the "keypress down" event to the alt when you press Up, then send the "keypress up" event to the alt when you release the Up arrow. Look at my script for F1 - that's how I do my formation spread - you should be able to use something similar.