i wanted to know how can i, by pressing one key, send the same key information, to two different WoW clients. Windows has the AutoHotkey program, and i thought i could to the same with AppleScript. However, AHK is an actual program, that reads the scripts. here is an example of the script to send the key "2" to two different wow clients:
now, how can i do that in applescript, and in a way to be always active?
Code:
WinGet, wowid, List, World of Warcraft
~2::
KeyWait 2
IfWinActive, World of Warcraft
{
ControlSend,, 2, ahk_id %wowid1%
ControlSend,, 2, ahk_id %wowid2%
Return
}