title: Pywinauto - How to read the text within a pop up window to identify it?
body: <p>I'm trying to remote control a windows application that sometimes displays a warning window on startup using pywinauto.</p>
  
  <p>The code below identifies the window because it has no menu.</p>
  
  <p>I would like to read the pop up text to look for the phrase "Please contact your system administrator." within that pop up window to know that it's the
  right one.</p>
  
  <pre><code>mywindows = pywinauto.findwindows.find_windows(title_re=".*MyProgramTitle")
  
  # proof that two windows are found
  print(len(mywindows))
  
  for handle in mywindows:
      print('\nhandle {}'.format(handle))
  
      app = Application().connect(handle=handle)
      navwin = app.window(handle=handle )
  
      if not navwin.menu_items():
          # no menu - I bet it's a pop up
          print('{} is the window I\'m looking for'.format(handle))
          navwin.print_control_identifiers()
  </code></pre>
  
  <p>The above code prints out all windows info, including 
      "Static - 'Location mapping failed. Please contact your system administrator.'"  </p>
  
  <p>But I'd need to catch that printout to further process it.</p>