将Ctrl + q发送到多个窗口

时间:2013-08-08 17:27:10

标签: autohotkey multibox

我正在尝试编写一个脚本,将 Ctrl +内容发送到多个窗口。我写了这个:

; it's Eve Online - the window title is like this: "EVE - Character Name"
SetTitleMatchMode, 1
WinGet, eveid, list, EVE 
; I want to send Ctrl+Q to 2 windowed clients at once
^q::
KeyWait, {Ctrl}q, D
    ControlSend,, {Control down}q{Control up}, ahk_id %eveid1%
    ControlSend,, {Control down}q{Control up}, ahk_id %eveid2%
Return

但它不起作用!

任何建议都非常感谢!

0 个答案:

没有答案