forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Any replacement for Windows Spy?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Zeitenwanderer
Newbie


Joined: 26 Feb 2002
Posts: 10

PostPosted: Tue Mar 05, 2002 7:50 pm    Post subject: Any replacement for Windows Spy? Reply with quote

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!!! Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Wed Mar 06, 2002 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Zeitenwanderer
Newbie


Joined: 26 Feb 2002
Posts: 10

PostPosted: Wed Mar 06, 2002 10:57 pm    Post subject: Yes, it would help, if.... :-) Reply with quote

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!!!!

Rolling Eyes
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Mar 06, 2002 11:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group