WaitNewWindowLike(\@old_windows, $rest)
Like WaitWindowLike except the first parameter is a list
reference
to windows that already exist and should be ignored.
Usually used like this: my @handles=FindWindowLike(...);
system("explorer c:"); my
($explorer)=WaitNewWindowLike(\@handles,
...);
where ... represents the same parameters each time.
NOTE: When called in a list context it returns ALL matching new
windows
WaitNotWIndowLike(\@not, ...)
Like WaitNewWindowLike it takes an array reference of windows
to
ignore
The function returns when there are no more matching windows
left.
Useful after having sent a WM_CLOSE or something, to wait when
windows have all gone away.
e.g. for (FindWindowLike(undef, undef, 'CabinetWClass')) {
CloseWindow($_); } WaitNotWindowLike(undef, undef, undef,
'CabinetWClass');
Returns a list of matching windows that would not go away
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| extra.patch | WaitNewWindowLike and WaitNotWindowLike | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 296543: extra.patch | 2008-10-08 10:41 | samjam |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use