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 


winspy in a list

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


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon May 06, 2002 1:48 pm    Post subject: winspy in a list Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon May 06, 2002 9:22 pm    Post subject: Reply with quote

_____________________________________________________________
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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


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

PostPosted: Mon May 06, 2002 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed May 08, 2002 8:56 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
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