WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Window Manipulation

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:53:34
Last Updated: 1999:04:15:16:53:34