GetWindowNames


 

GetWindowNames>handle,title,class

 

Given a window handle GetWindowNames will return the window's title caption and class name in the title and class variables.

 

Abbreviation: GWN

 

Example

 

Let>WIN_USEHANDLE=1

GetWindowList>allWindows

Separate>allWindows,CRLF,wins

If>wins_count>0

Let>k=0

Repeat>k

  Let>k=k+1

  Let>this_window=wins_%k%

  GetWindowNames>this_window,strTitle,strClass

  // ....

Until>k=wins_count