input director and auto hot key (AHK)

194 views
Skip to first unread message

Jay Kraly

unread,
Sep 17, 2008, 9:33:01 PM9/17/08
to input-d...@googlegroups.com
Hello,

First just like to say great job, input director is very well done. I
have a question about combining input director and the auto hot key
program. Mostly I'm wondering if you have any suggestions as to where
my setup is going wrong and what I can do to debug, I doubt it is an
input director bug. If anybody else has this setup working let me
know.

I have two machines connected using input director. On the master I
have setup four macros to send the F9-F12 keys to both the master and
the slave. On the slave I also have the program "auto hot key"
running and configured to send the same four function keys to two
applications of the same name. The goal being to send the key strokes
to one application running on the master as well as two instances of
the same app on the slave.

It works occasionally but most of the time on the slave only one
instance of the application gets the function keystrokes. My theory
is that success depends on whether AHK is started before ID or vice
versa.

Thanks for any ideas on how to get this working...

-J

sh...@inputdirector.com

unread,
Sep 18, 2008, 7:11:47 PM9/18/08
to Input Director
Hi,

Can you email me your ahk script and I'll see if I can work out what
might be going wrong.

Regs,

Shane.

Jay Kraly

unread,
Sep 20, 2008, 3:09:47 PM9/20/08
to input-d...@googlegroups.com
Here is the guts of the AHK script, I believe i started with ~'s
before the F9, F10, F11, and F12. Any help will be much appreciated.

WinGet, wowid, List, World of Warcraft

#z::Run www.autohotkey.com

^!n::
IfWinExist Untitled - Notepad
WinActivate
else
Run Notepad
return

F9::
IfWinActive, World of Warcraft
{
ControlSend, , {F9}, ahk_id %wowid1%
ControlSend, , {F9}, ahk_id %wowid2%
ControlSend, , {F9}, ahk_id %wowid3%
ControlSend, , {F9}, ahk_id %wowid4%
ControlSend, , {F9}, ahk_id %wowid5%
Return
}

F10::
IfWinActive, World of Warcraft
{
ControlSend, , {F10}, ahk_id %wowid1%
ControlSend, , {F10}, ahk_id %wowid2%
ControlSend, , {F10}, ahk_id %wowid3%
ControlSend, , {F10}, ahk_id %wowid4%
ControlSend, , {F10}, ahk_id %wowid5%
Return
}

F11::
IfWinActive, World of Warcraft
{
ControlSend, , {F11}, ahk_id %wowid1%
ControlSend, , {F11}, ahk_id %wowid2%
Return
}

F12::
IfWinActive, World of Warcraft
{
ControlSend, , {F12}, ahk_id %wowid1%
ControlSend, , {F12}, ahk_id %wowid2%
Return

Reply all
Reply to author
Forward
0 new messages