ich habe folgenden Code
;============================== Start Auto-Execution Section ==============================
#Persistent
#NoEnv
#SingleInstance, Force
DetectHiddenWindows, On
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode, 2
controlID := 0
return
;============================== Main Script ==============================
#If !WinActive("ahk_exe chrome.exe")
q::
Send {9}
return
e::
ControlGet, controlID, Hwnd,,Chrome_RenderWidgetHostHWND1, Google Chrome
ControlFocus,,ahk_id %controlID%
Sleep, 50
ControlSend, Chrome_RenderWidgetHostHWND1, 1 , Google Chrome
ControlSend,,{1},ahk_exe firefox.exe
return
d::
ControlGet, controlID, Hwnd,,Chrome_RenderWidgetHostHWND1, Google Chrome
ControlFocus,,ahk_id %controlID%
Sleep, 50
ControlSend, Chrome_RenderWidgetHostHWND1, 0 , Google Chrome
return
x::
ControlGet, controlID, Hwnd,,Chrome_RenderWidgetHostHWND1, Google Chrome
ControlFocus,,ahk_id %controlID%
Sleep, 50
ControlSend, Chrome_RenderWidgetHostHWND1, 1 , Google Chrome
return
^8::
Suspend
dieser Funktioniert, aber nur für Firefox.
Ich benutze Opera für meinen Knight, Firefox für meinen Rm und wollte gerne Chrome benutzen für meinen BP - welcher noch aktiv dadurch mitlvln soll. Und damit ich einfach mehr Tanken kann.
Kann mir jemand helfen, wie ich das schreiben muss, sodass es bei mir in Chrome auch funktioniert? Egal was ich eingebe, es funktioniert nur dann wenn Chrome aktiv ist und nicht wenn dieser im Hintergrund läuft. Ich möchte gerne Opera als Hauptfenster benutzen und die anderen beiden im Hintergrund. Aktiv Tanken und wenn ich dann e drücke sollen beide anderen Charaktere healen, welche dann im Firefox und Chrome sich befinden.
Danke vorab für Eure Hilfen.
English Version
this is a autohotkey code. For the browser chrome and firefox, but its only works in firefox. I play with the Browser Opera and i want to heal myself 2 times - with 2 characters. But its not working just in firefox if Opera is the main window chrome doesnt react. Anyone of the english user here knows how to fix that. That I can play with my knight in Opera and get healing by one rm and one bp where the Browser are just open in the background ?
hope you guys can understand my english






