How to get a window names and string values of presended components on that window in client?

Here are a couple of examples of cycling through windows from the forum that could also help you:
A basic example of cycling through windows one at a time
A much more complex example of cycling through all windows one at a time, and later in the thread: cycling in batches