Code: Select all
w::
Send, w to all tabs with name MULTIBOXER
return
Code: Select all
w::
Send, w to all tabs with name MULTIBOXER
return
Code: Select all
#Include d:\utils\acc\Acc.ahk ; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=26201
#IfWinActive ahk_exe chrome.exe
$w::sendToChromeTab("w", "MULTIBOXER")
#IfWinActive
sendToChromeTab(keys, tabTitle) {
For each, oChild in Acc_Children(Acc_Get("Object", TABS := "4.1.1.2.1.1.1.1"))
SendInput % Instr(oChild.accName(0), tabTitle) ? (keys, oChild.accDoDefaultAction(0)) : ""
}
Code: Select all
WinGet, win, List, MULTIBOXER
Loop, %win% {
WinActivate, % "ahk_id" win%A_Index%
Send w
}