in reply to Manually Select a Windows Window
As you've already found, FindWindowLike() returns a list of all open windows of that type, and after a quick test, they are returned in the order of most recently opened to first opened:
Code:
my @window = FindWindowLike(0, "Notepad", ""); print "$_\n" for @window;
Open one window:
8455346
2nd window opened:
7931554 8455346
3rd:
11731214 7931554 8455346
Differentiating between the windows other than the order they were opened is something I don't have time to review the docs for right now, so you may want to look to see if there are other identifiers or not.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Manually Select a Windows Window
by rd48sec (Novice) on Feb 21, 2017 at 17:48 UTC | |
by Anonymous Monk on Feb 22, 2017 at 00:15 UTC |