WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Window Manipulation

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 2011:09:16:12:13:06
Last Updated: 2011:09:16:12:13:06