Code: Select all
#If WinActive("Save As ahk_exe notepad++.exe")
Code: Select all
#If WinActive("*notepad++.exe*")
Code: Select all
#If WinActive("Save As ahk_exe notepad++.exe")
Code: Select all
#If WinActive("*notepad++.exe*")
Code: Select all
#If WinActive
or
#IfWinActive
Code: Select all
#If WinActive("ahk_exe notepad++.exe")
Code: Select all
#IfWinActive, ahk_exe notepad++.exe
Code: Select all
#If ?WinActive\(".*zoom*.exe.*"\)
Code: Select all
#If WinActive("ahk_exe Zoom.exe")
#If WinActive("ahk_exe ZoomProOrWhateverItsCalled.exe")