title: Check all opened windows in vba
body: <p>Basically I want a code to check all of the opened windows in my desktop, using vba.</p>
  
  <p>That includes applications' windows as well.</p>
  
  <p>I also need to know the windows names.</p>
  
  <p>In general I want to know if the application Winrar is proceeding a specific operation, for example when I add files to an archive then the Winrar's desktop window is named as "Updating archive x", I want to get this text in my vba code.</p>
  
  <p>I need the exact same thing for more applications as well, so it'd be nice to get a function for that.</p>
  
  <p>Thanks in advance.</p>