I'm trying to use the WinActivate but once it activates the window, nothing can be done.
Code: Select all
WinActivate ahk_exe brave.exe
It kind of only brings the window to the forefront and that's it. No more keys can be sent, even if I try to type something manually after the window was "activated" it doesn't respond.
As an example I wanted to switch tab after the window is activated:
Code: Select all
WinActivate ahk_exe brave.exe
WinWaitActive ahk_exe brave.exe
SendInput ^+{Tab}