SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Find Window

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Find Window
Author Message
Karel Claessens



Joined: 20 Dec 2000
Posts: 1

Post Find Window Reply with quote

How can I check the contents of a window to act upon?

In Lotus Notes when Windows pop-up they very often have "Lotus Notes" as title.
But the contents of the windows are different.
How can I check the text that is displayed to be sure I'm responding to the right one?

Thanks

Wed Dec 20, 2000 8:22 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Re: Find Window Reply with quote

Every *text* is usually a simple "window" as well as buttons, pictures, option check boxes, and so on are also "windows". These windows are children of some other parent window, such as a dialog box that you can find using WindowFind.

You can use WindowGetChild to find reference called “windows handle” to the first child window. Then you can use WindowGetNext to loop through sibling windows.
WindowGetTitle will return the text of the specified window. If found window has a title, it returns the text of the title, otherwise it returns the contents.
This way you can always identify the *contents* of any given window

There are several examples available for WindowGetChild, WindowGetNext, and other WindowGet... statements.

: How can I check the contents of a window to act upon?

: In Lotus Notes when Windows pop-up they very often have "Lotus
: Notes" as title.
: But the contents of the windows are different.
: How can I check the text that is displayed to be sure I'm responding to the
: right one?

: Thanks

Wed Dec 20, 2000 9:36 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.