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 


@winexists() Problem ?

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


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Tue Feb 24, 2009 2:09 pm    Post subject: @winexists() Problem ? Reply with quote

Having probs with the @winexists() func. For me it seemes to work
for parent instaces only, not on child window ?. When using the Spy utility
and the SPYxx (Microsoft utility) the id is there all the time why can't
@winexists() work the same way or is this a problem with Vista and VDS5 ?
How do you get child id for API calls ?

%%hwnd = @winexists(#Internet Explorer_Server) this will return noting
but there is a handler ID presented in SPY.

How can i use the second parameter in this function @winexists(<window>,Child Window)

What can Spy do that @Winexists() can't ? Crying or Very sad

//Dan
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Feb 24, 2009 6:41 pm    Post subject: Reply with quote

Dan,
The Window Spy utility that comes with VDS does not use just @winexist() and actually I doubt that it uses @winexist() at all. Most likly it uses a combination of the LIST WINLIST and @WINDOW(). The LIST WINLIST command gets a list of all the windows then you use @WINDOW() in a loop to walk all the child windows of the parent.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Feb 24, 2009 8:11 pm    Post subject: Reply with quote

You will need to use "@WINDOW(<window>,CHILD|OWNER|FIRST|LAST|PREV|NEXT) " to get what you need. And it can be very confusing using this, but it does work.
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
DanTheMan
Contributor
Contributor


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Wed Feb 25, 2009 9:35 pm    Post subject: Reply with quote

Garrett wrote:
You will need to use "@WINDOW(<window>,CHILD|OWNER|FIRST|LAST|PREV|NEXT) " to get what you need. And it can be very confusing using this, but it does work.


Great, thanks! That did the trick !, But it's an "trial & error" if you add a
new Dialog to the script (Next or Child ?) Rolling Eyes it works anyway ....

/Dan
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Thu Feb 26, 2009 2:11 am    Post subject: Reply with quote

I did say it can be a bit confusing Laughing
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
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