Code: Select all
F2::
If WinActive(wTitle := "ahk_class OpusApp ahk_exe WINWORD.EXE") {
WinSet, Bottom
WinActivate, %wTitle%
WinMaximize, A
}
Return
Code: Select all
F2::
If WinActive(wTitle := "ahk_class OpusApp ahk_exe WINWORD.EXE") {
WinSet, Bottom
WinActivate, %wTitle%
WinMaximize, A
}
Return
Code: Select all
#If WinActive("ahk_class OpusApp ahk_exe WINWORD.EXE")
F2::
WinSet, Bottom
WinActivate, ahk_class OpusApp ahk_exe WINWORD.EXE
WinMaximize, A
Return