The documentation does not state how the last found window is defined if #IfWinActive has a compound or boolean expression such as #If WinExist("ahk_class Notepad") && WinExist("ahk_class EmEditorMainFrame3"). My testing to date shows-- and I am uncertain about it-- that the last non-negated condition determines the last found window. Can anyone confirm this?The Last Found Window is set by #IfWinActive/Exist (though not by #IfWinNotActive/NotExist).
#IfWin... and last found window
#IfWin... and last found window
Documentation states the following.
Re: #IfWin... and last found window
the last function(capable of setting LastFoundWindow) that was evaluated and returned true, will set the LastFoundWindow
Re: #IfWin... and last found window
I thank you, swagfag!