View previous topic :: View next topic |
Author |
Message |
Zeitenwanderer Newbie
Joined: 26 Feb 2002 Posts: 10
|
Posted: Tue Mar 05, 2002 7:50 pm Post subject: Any replacement for Windows Spy? |
|
|
Tried to figure out the unchanging class name of IE 5.5 German edition. Used the Windows Spy, but found neither the help file for it nor could I identify a never changing class name... Suggestions?
I want to use @winatpoint, but how would I get the ones for an edit line inside a window?
Or does anybody know a replacement for the Windows Spy?
Please, help!!! |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Wed Mar 06, 2002 12:58 am Post subject: |
|
|
Hello,
If you know the main class name of a window, you can get the window
id# of almost anything on the window by using the @window() function.
You can get the first element then step through until you find the right one.
example:
Code: |
%c = @window(#MyClass,FIRST)
repeat
%c = @Window(%c,NEXT)
info %c
rem or do something with the %c
until @not(%c)
|
You can read more about the @window() function in the VDS Help file.
I hope that helped! _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
Zeitenwanderer Newbie
Joined: 26 Feb 2002 Posts: 10
|
Posted: Wed Mar 06, 2002 10:57 pm Post subject: Yes, it would help, if.... :-) |
|
|
I really know to appreciate it - but just how do I find out this damn main class name..... Am I the only poor fool, who needs this option?
Any comments are taken!!!!
|
|
Back to top |
|
|
Dr. Dread Professional Member
Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Mar 06, 2002 11:47 pm Post subject: |
|
|
Hi Zeitenwanderer!
You could try this piece of code that I threw together:
Code: |
LIST CREATE,1,SORTED
LIST WINLIST,1,CIN
list savefile,1,log.txt
shell open,log.txt
wait
file delete,log.txt
|
That should give you a sorted list (in a text file) containing all windows
open on your system. Browse through it to find the items you need. Each
line holds Class Name|Window Identifier|Window title of the window.
The first value (Class Name) is the one that does not change.
Hope it helps.
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
Back to top |
|
|
|