Code: Select all
if not WinActive("ahk_exe voicemeeter8.exe")
WinActivate
if not WinActive("ahk_exe voicemeeter8.exe")
WinActivate ahk_exe voicemeeter8.exe
Code: Select all
if not WinActive("ahk_exe voicemeeter8.exe")
WinActivate
if not WinActive("ahk_exe voicemeeter8.exe")
WinActivate ahk_exe voicemeeter8.exe
Code: Select all
if WinExist("Untitled - Notepad")
{
WinActivate ; Use the window found by WinExist.
WinMaximize ; Same as above.
Send, Some text.{Enter}
return
}