Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Reading Buttons and Child Windows

Keywords: winitemchild

How to read the contents of buttons and child windows:

See our brand new Control Manager Extender, on our website, under WinBatch Add-Ons.

In addition, WinItemChild reads the contents of a child window. To see what this function does, start File Manager/Explorer. Do a File/Copy so that the Copy dialog box is active on the screen. Run the following script.

  delay(5)
  a=Winitemchild("Copy")
  a=strreplace(a, @tab, @crlf)
  message("", a)
It reads the contents of the Copy window and displays the results. The buttons should appear with the information collected. Look at StrIndex to search the results for your info.

Also, see the MsgTextGet function.


Article ID:   W13203
Filename:   Reading Buttons and Child Windows.txt