Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to get a previously active window

Keywords:  last active window previous winitemize WinGetActive	 

Question


How do I get the last or previously active window name?

Answer:


Example:

 listofwin=WinItemize()
 prevwin=Itemextract(2,listofwin,@TAB);gets second item in the list
 Message("Got Previous Window","Previous Window is %prevwin%")

Article ID:   W13368
Filename:   How to get a previously active window.txt