| View previous topic :: View next topic |
| Author |
Message |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon May 06, 2002 1:48 pm Post subject: winspy in a list |
|
|
is there an easy way to have all the child windows of MSIE displayed in a list - same as winspy but in a list that i can use to then do a search?
Serge _________________
|
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon May 06, 2002 9:22 pm Post subject: |
|
|
_____________________________________________________________
You can use LIST WINLIST and @pos() to detect
all window titles that contain "Internet Explorer".
Something like this maybe:
| Code: |
LIST CREATE, 1
LIST WINLIST, 1
%x = 0
REPEAT
if @greater(@pos("Internet Explorer", @item(1, %x)), 0)
rem -- Add @item(1) to your searchable list here --
end
%x = @succ(%x)
UNTIL @equal(%x, @count(1))
|
Cheers, Mac _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Mon May 06, 2002 10:36 pm Post subject: |
|
|
Be aware that the title can be changed by the user so that Internet Explorer windows feature
another default title. You may try to check whether the user has set this registry key and then look
for that value.
| Code: | %%MSIEtitle = @regread(CURUSER,Software\Microsoft\Internet Explorer\Main,Window Title)
info %%MSIEtitle |
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Wed May 08, 2002 8:56 am Post subject: |
|
|
I probably didn't explain myself very well.
I want to be able to list all the child windows of MSIE in the same way that Winspy does (ie. using @WINDOW(..,CHILD) and @WINDOW(..,NEXT) and so on).
Serge _________________
|
|
| Back to top |
|
 |
|