Answer the question
In order to leave comments, you need to log in
What would be the ahk Script code for this?
How to make the right alt bring the window of the desired program to the foreground if it is minimized .. And if it is in the foreground, then the program window is minimized by the same right alt ..
Answer the question
In order to leave comments, you need to log in
RAlt::
WinGetTitle, wnd, A ;получаем заголовок с активного окна (А)
if wnd="окно"
WinMinimize, wnd ;сворачиваем
else
{
if WinExist("окно") ;если окно с заданным заголовком существует
WinMaximize, "окно" ;или WinActive - разворачиваем
else
MsgBox, нет окна "окно"
}
return
Functions , WinGetTitle
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question